Author: d.plentz
Date: 2007-10-28 12:50:46 -0400 (Sun, 28 Oct 2007)
New Revision: 14155
Modified:
core/branches/Branch_3_2/src/org/hibernate/cfg/HbmBinder.java
Log:
[HHH-1916] param values in generator element should be trimmed during HbmBinding
Modified: core/branches/Branch_3_2/src/org/hibernate/cfg/HbmBinder.java
===================================================================
--- core/branches/Branch_3_2/src/org/hibernate/cfg/HbmBinder.java 2007-10-27 12:56:49 UTC
(rev 14154)
+++ core/branches/Branch_3_2/src/org/hibernate/cfg/HbmBinder.java 2007-10-28 16:50:46 UTC
(rev 14155)
@@ -1997,7 +1997,7 @@
Iterator iter = subnode.elementIterator( "param" );
while ( iter.hasNext() ) {
Element childNode = (Element) iter.next();
- params.setProperty( childNode.attributeValue( "name" ), childNode.getText()
);
+ params.setProperty( childNode.attributeValue( "name" ),
childNode.getTextTrim() );
}
model.setIdentifierGeneratorProperties( params );
Show replies by date