From: <one...@us...> - 2002-11-24 06:30:14
|
Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate In directory sc8-pr-cvs1:/tmp/cvs-serv11168/cirrus/hibernate Modified Files: Query.java Log Message: QueryTranslator code cleanup Index: Query.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/Query.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Query.java 21 Nov 2002 09:03:09 -0000 1.15 --- Query.java 24 Nov 2002 06:30:11 -0000 1.16 *************** *** 58,65 **** public Type[] getReturnTypes() throws HibernateException; /** ! * Return the query results as an <tt>Iterator</tt>. The query may ! * contain scalar values in its select clause. If the query contains ! * multiple results pre row, the results are returned in an instance ! * of <tt>Object[]</tt>.<br> * <br> * Entities returned as results are initialized on demand. The first --- 58,64 ---- public Type[] getReturnTypes() throws HibernateException; /** ! * Return the query results as an <tt>Iterator</tt>. If the query ! * contains multiple results pre row, the results are returned in ! * an instance of <tt>Object[]</tt>.<br> * <br> * Entities returned as results are initialized on demand. The first *************** *** 72,79 **** public Iterator iterate() throws SQLException, HibernateException; /** ! * Return the query results as <tt>ScrollableResults</tt>. The query ! * may contain scalar values in its select clause. The scrollability ! * of the returned results depends upon JDBC driver support for ! * scrollable <tt>ResultSet</tt>s.<br> * <br> * Entities returned as results are initialized on demand. The first --- 71,77 ---- public Iterator iterate() throws SQLException, HibernateException; /** ! * Return the query results as <tt>ScrollableResults</tt>. The ! * scrollability of the returned results depends upon JDBC driver ! * support for scrollable <tt>ResultSet</tt>s.<br> * <br> * Entities returned as results are initialized on demand. The first *************** *** 87,92 **** public ScrollableResults scroll() throws SQLException, HibernateException; /** ! * Return the query results as a <tt>List</tt>. The query may not ! * contain scalar values in its select clause. If the query contains * multiple results pre row, the results are returned in an instance * of <tt>Object[]</tt>. --- 85,89 ---- public ScrollableResults scroll() throws SQLException, HibernateException; /** ! * Return the query results as a <tt>List</tt>. If the query contains * multiple results pre row, the results are returned in an instance * of <tt>Object[]</tt>. |