From: <one...@us...> - 2002-12-27 11:54:51
|
Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/loader In directory sc8-pr-cvs1:/tmp/cvs-serv2878/cirrus/hibernate/loader Modified Files: Loader.java Log Message: added validation settings to DBCP + C3P0 connection providers added Query.setTimeout() got tests working Index: Loader.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/loader/Loader.java,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** Loader.java 24 Dec 2002 13:45:37 -0000 1.32 --- Loader.java 27 Dec 2002 11:54:48 -0000 1.33 *************** *** 418,421 **** --- 418,423 ---- try { + if (selection!=null && selection.timeout!=null) st.setQueryTimeout( selection.timeout.intValue() ); + int col=1; for ( int i=0; i<values.length; i++) { |