Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate
In directory sc8-pr-cvs1:/tmp/cvs-serv11899/hibernate
Modified Files:
ScrollableResults.java
Log Message:
fixed bug finding properties inherited by interfaces
added ScrollableResults.isFirst(), isLast()
Index: ScrollableResults.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/ScrollableResults.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** ScrollableResults.java 15 Dec 2002 05:12:41 -0000 1.8
--- ScrollableResults.java 13 Jan 2003 13:05:44 -0000 1.9
***************
*** 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.
*/
|