Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/impl
In directory sc8-pr-cvs1:/tmp/cvs-serv8915/hibernate/impl
Modified Files:
SessionFactoryImpl.java
Log Message:
fixed a bug in PreparedStatement caching
refactored composite id tests to new class
Index: SessionFactoryImpl.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/impl/SessionFactoryImpl.java,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** SessionFactoryImpl.java 14 Jan 2003 13:01:09 -0000 1.62
--- SessionFactoryImpl.java 19 Feb 2003 12:43:24 -0000 1.63
***************
*** 494,497 ****
--- 494,499 ----
public void closePreparedStatement(PreparedStatement ps) throws SQLException {
if (stCache!=null) {
+ ps.setMaxRows(0);
+ ps.setFetchSize(0);
stCache.closePreparedStatement(ps);
}
|