Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate
In directory sc8-pr-cvs1:/tmp/cvs-serv5675/src/net/sf/hibernate
Modified Files:
ScrollableResults.java
Log Message:
added isFirst(), isLast() to ScrollableResults
fixed problem finding properties inherited by interfaces and abstract classes
support for elements(), indices(), max(), min(), count() functions
Index: ScrollableResults.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/ScrollableResults.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ScrollableResults.java 5 Jan 2003 02:11:19 -0000 1.3
--- ScrollableResults.java 12 Jan 2003 07:07:48 -0000 1.4
***************
*** 64,67 ****
--- 64,83 ----
public void afterLast() throws SQLException, HibernateException;
/**
+ * Is this the first result?
+ *
+ * @return <tt>true</tt> if this is the first row of results
+ * @throws SQLException
+ * @throws HibernateException
+ */
+ public boolean isFirst() throws SQLException, HibernateException;
+ /**
+ * Is this the last result?
+ *
+ * @return <tt>true</tt> if this is the last row of results
+ * @throws SQLException
+ * @throws HibernateException
+ */
+ public boolean isLast() throws SQLException, HibernateException;
+ /**
* Release resources immediately.
*/
|