Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate
In directory sc8-pr-cvs1:/tmp/cvs-serv21897/hibernate
Modified Files:
Query.java
Log Message:
added a warning to Javadoc
Index: Query.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/Query.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** Query.java 17 Jan 2003 10:27:10 -0000 1.19
--- Query.java 31 Jan 2003 08:50:49 -0000 1.20
***************
*** 41,48 ****
* to JDBC).<br>
* <br>
! * Queries are executed by calling <tt>list()</tt> or <tt>find()</tt>. A
! * query may be re-executed by subsequent invocations. Its lifespan is,
! * however, bounded by the lifespan of the <tt>Session</tt> that created
! * it.<br>
* <br>
* Implementors are not intended to be threadsafe.
--- 41,51 ----
* to JDBC).<br>
* <br>
! * You may not mix and match JDBC-style parameters and named parameters
! * in the same query.<br>
! * <br>
! * Queries are executed by calling <tt>list()</tt>, <tt>scroll()</tt> or
! * <tt>iterate()</tt>. A query may be re-executed by subsequent invocations.
! * Its lifespan is, however, bounded by the lifespan of the <tt>Session</tt>
! * that created it.<br>
* <br>
* Implementors are not intended to be threadsafe.
|