From: <one...@us...> - 2003-02-09 06:28:19
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/sql In directory sc8-pr-cvs1:/tmp/cvs-serv20713/hibernate/sql Modified Files: InFragment.java Log Message: standardised on dom4j fixed bugs in collection caching (sometimes an exception occurred) allowed null discriminators set autocommit to true in SchemaUpdate collections now deserialize correctly Index: InFragment.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/sql/InFragment.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** InFragment.java 20 Jan 2003 18:45:18 -0000 1.1 --- InFragment.java 9 Feb 2003 06:28:16 -0000 1.2 *************** *** 42,46 **** } else { ! buf.append("=").append( values.iterator().next() ); } return buf.toString(); --- 42,52 ---- } else { ! String value = (String) values.iterator().next(); ! if ( "null".equals(value) ) { ! buf.append(" is null"); ! } ! else { ! buf.append("=").append( values.iterator().next() ); ! } } return buf.toString(); |