Skip to content

Commit a84793b

Browse files
committed
remove hibernate.cache.provider_configuration_file_resource_path
this was unused
1 parent 6cbfb30 commit a84793b

File tree

7 files changed

+1
-12
lines changed

7 files changed

+1
-12
lines changed

hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,11 +1167,6 @@ public interface AvailableSettings {
11671167
*/
11681168
String CACHE_KEYS_FACTORY = "hibernate.cache.keys_factory";
11691169

1170-
/**
1171-
* The {@code CacheProvider} implementation class
1172-
*/
1173-
String CACHE_PROVIDER_CONFIG = "hibernate.cache.provider_configuration_file_resource_path";
1174-
11751170
/**
11761171
* Enable the second-level cache.
11771172
* <p>

hibernate-core/src/test/java/org/hibernate/orm/test/cache/CollectionCacheEvictionTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ protected void configure(Configuration cfg) {
5454
cfg.setProperty( Environment.AUTO_EVICT_COLLECTION_CACHE, "true" );
5555
cfg.setProperty( Environment.USE_SECOND_LEVEL_CACHE, "true" );
5656
cfg.setProperty( Environment.USE_QUERY_CACHE, "true" );
57-
cfg.setProperty( Environment.CACHE_PROVIDER_CONFIG, "true" );
5857
cfg.setProperty( DEFAULT_LIST_SEMANTICS, CollectionClassification.BAG.name() );
5958
}
6059

hibernate-core/src/test/java/org/hibernate/orm/test/cache/CollectionCacheEvictionWithoutMappedByTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ protected void configure(Configuration cfg) {
5555
cfg.setProperty( Environment.AUTO_EVICT_COLLECTION_CACHE, "true" );
5656
cfg.setProperty( Environment.USE_SECOND_LEVEL_CACHE, "true" );
5757
cfg.setProperty( Environment.USE_QUERY_CACHE, "true" );
58-
cfg.setProperty( Environment.CACHE_PROVIDER_CONFIG, "true" );
5958
}
6059

6160
private People createPeople() {

hibernate-core/src/test/java/org/hibernate/orm/test/cache/LockModeTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ protected void configure(Configuration cfg) {
4444
cfg.setProperty( Environment.AUTO_EVICT_COLLECTION_CACHE, "true" );
4545
cfg.setProperty( Environment.USE_SECOND_LEVEL_CACHE, "true" );
4646
cfg.setProperty( Environment.USE_QUERY_CACHE, "true" );
47-
cfg.setProperty( Environment.CACHE_PROVIDER_CONFIG, "true" );
4847
cfg.setProperty( DEFAULT_LIST_SEMANTICS, CollectionClassification.BAG.name() );
4948
}
5049

hibernate-core/src/test/java/org/hibernate/orm/test/cache/ManyToManyCollectionCacheEvictionTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ protected void configure(Configuration cfg) {
5050
cfg.setProperty( Environment.AUTO_EVICT_COLLECTION_CACHE, "true" );
5151
cfg.setProperty( Environment.USE_SECOND_LEVEL_CACHE, "true" );
5252
cfg.setProperty( Environment.USE_QUERY_CACHE, "true" );
53-
cfg.setProperty( Environment.CACHE_PROVIDER_CONFIG, "true" );
5453
cfg.setProperty( DEFAULT_LIST_SEMANTICS, CollectionClassification.BAG.name() );
5554
}
5655

hibernate-core/src/test/java/org/hibernate/orm/test/cache/RefreshUpdatedDataTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ protected void configure(Configuration cfg) {
5454
cfg.setProperty( Environment.CACHE_REGION_PREFIX, "" );
5555
cfg.setProperty( Environment.GENERATE_STATISTICS, "true" );
5656
cfg.setProperty( Environment.USE_SECOND_LEVEL_CACHE, "true" );
57-
cfg.setProperty( Environment.CACHE_PROVIDER_CONFIG, "true" );
5857
}
5958

6059
@Test

hibernate-core/src/test/java/org/hibernate/orm/test/ondemandload/cache/CacheLazyLoadNoTransTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353
settings = {
5454
@Setting(name = AvailableSettings.ENABLE_LAZY_LOAD_NO_TRANS, value = "true"),
5555
@Setting(name = Environment.USE_SECOND_LEVEL_CACHE, value = "true"),
56-
@Setting(name = Environment.USE_QUERY_CACHE, value = "true"),
57-
@Setting(name = Environment.CACHE_PROVIDER_CONFIG, value = "true"),
56+
@Setting(name = Environment.USE_QUERY_CACHE, value = "true")
5857
},
5958
settingProviders = @SettingProvider(
6059
settingName = DEFAULT_LIST_SEMANTICS,

0 commit comments

Comments
 (0)