Update of /cvsroot/hibernate/Hibernate
In directory sc8-pr-cvs1:/tmp/cvs-serv2878
Modified Files:
hibernate.properties changelog.txt
Log Message:
added validation settings to DBCP + C3P0 connection providers
added Query.setTimeout()
got tests working
Index: hibernate.properties
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/hibernate.properties,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -d -r1.95 -r1.96
*** hibernate.properties 8 Dec 2002 05:58:58 -0000 1.95
--- hibernate.properties 27 Dec 2002 11:54:48 -0000 1.96
***************
*** 174,177 ****
--- 174,178 ----
#hibernate.c3p0.timeout 5000
#hibernate.c3p0.max_statements 100
+ #hibernate.c3p0.validate false
***************
*** 194,197 ****
--- 195,202 ----
#hibernate.dbcp.ps.maxWait 120000
#hibernate.dbcp.ps.maxIdle 100
+
+ # optional query to validate pooled connections:
+
+ #hibernate.dbcp.validationQuery select 1 from dual
Index: changelog.txt
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/changelog.txt,v
retrieving revision 1.289
retrieving revision 1.290
diff -C2 -d -r1.289 -r1.290
*** changelog.txt 25 Dec 2002 07:34:19 -0000 1.289
--- changelog.txt 27 Dec 2002 11:54:48 -0000 1.290
***************
*** 18,21 ****
--- 18,25 ----
* fixed a bug caching Maps (Benoit Menendez)
* SchemaExport now accepts a .jar file as a source of mappings
+ * hibernate.dbcp.validationQuery setting (Juozas Baliuka)
+ * hibernate.c3p0.validate setting
+ * added Query.setTimeout()
+ * setMaxResults() now behaves sensibly on SAPDB (Russel Smyth)
Changes in version 1.2 final (7.12.2002)
|