We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91cd767 commit 8fde722Copy full SHA for 8fde722
hibernate-core/src/main/java/org/hibernate/boot/cfgxml/spi/LoadedConfig.java
@@ -156,11 +156,12 @@ private static String trim(String value) {
156
157
@SuppressWarnings("unchecked")
158
private void addConfigurationValue(String propertyName, String value) {
159
+ value = trim( value );
160
+ configurationValues.put( propertyName, value );
161
+
162
if ( !propertyName.startsWith( "hibernate." ) ) {
- propertyName = "hibernate." + propertyName;
163
+ configurationValues.put( "hibernate." + propertyName, value );
164
}
-
- configurationValues.put( propertyName, trim( value ) );
165
166
167
private void addMappingReference(MappingReference mappingReference) {
0 commit comments