Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/impl
In directory sc8-pr-cvs1:/tmp/cvs-serv31778/hibernate/impl
Modified Files:
SessionFactoryImpl.java
Log Message:
fixed problem with cached prepared statement handling
Index: SessionFactoryImpl.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/impl/SessionFactoryImpl.java,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** SessionFactoryImpl.java 19 Feb 2003 12:43:24 -0000 1.63
--- SessionFactoryImpl.java 4 Mar 2003 10:43:06 -0000 1.64
***************
*** 261,268 ****
//Queries:
! querySubstitutions = PropertiesHelper.toMap(Environment.QUERY_SUBSTITUTIONS, " ,=;:", properties);
log.info("Query language substitutions: " + querySubstitutions);
! queryImports = PropertiesHelper.toStringArray(Environment.QUERY_IMPORTS, " ,;:", properties);
if ( queryImports.length!=0 ) log.info( "Query language imports: " + StringHelper.toString(queryImports) );
--- 261,268 ----
//Queries:
! querySubstitutions = PropertiesHelper.toMap(Environment.QUERY_SUBSTITUTIONS, " ,=;:\n\t\r\f", properties);
log.info("Query language substitutions: " + querySubstitutions);
! queryImports = PropertiesHelper.toStringArray(Environment.QUERY_IMPORTS, " ,;:\n\t\r\f", properties);
if ( queryImports.length!=0 ) log.info( "Query language imports: " + StringHelper.toString(queryImports) );
***************
*** 494,499 ****
public void closePreparedStatement(PreparedStatement ps) throws SQLException {
if (stCache!=null) {
- ps.setMaxRows(0);
- ps.setFetchSize(0);
stCache.closePreparedStatement(ps);
}
--- 494,497 ----
|