HHH-10119 - EhCacheRegionFactory cannot find configurationResourceName set in .cfg.xml
This commit is contained in:
parent
6ce9d6848d
commit
0c628fa9aa
|
@ -156,11 +156,12 @@ public class LoadedConfig {
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
private void addConfigurationValue(String propertyName, String value) {
|
private void addConfigurationValue(String propertyName, String value) {
|
||||||
if ( !propertyName.startsWith( "hibernate." ) ) {
|
value = trim( value );
|
||||||
propertyName = "hibernate." + propertyName;
|
configurationValues.put( propertyName, value );
|
||||||
}
|
|
||||||
|
|
||||||
configurationValues.put( propertyName, trim( value ) );
|
if ( !propertyName.startsWith( "hibernate." ) ) {
|
||||||
|
configurationValues.put( "hibernate." + propertyName, value );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addMappingReference(MappingReference mappingReference) {
|
private void addMappingReference(MappingReference mappingReference) {
|
||||||
|
|
Loading…
Reference in New Issue