Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/impl
In directory sc8-pr-cvs1:/tmp/cvs-serv2878/cirrus/hibernate/impl
Modified Files:
QueryImpl.java
Log Message:
added validation settings to DBCP + C3P0 connection providers
added Query.setTimeout()
got tests working
Index: QueryImpl.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/impl/QueryImpl.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** QueryImpl.java 14 Dec 2002 09:27:55 -0000 1.20
--- QueryImpl.java 27 Dec 2002 11:54:48 -0000 1.21
***************
*** 54,57 ****
--- 54,58 ----
public Integer firstRow;
public Integer maxRows;
+ public Integer timeout;
}
***************
*** 82,85 ****
--- 83,90 ----
public void setMaxResults(int maxResults) {
selection.maxRows = new Integer(maxResults);
+ }
+
+ public void setTimeout(int timeout) {
+ selection.timeout = new Integer(timeout);
}
|