From: <one...@us...> - 2003-01-12 07:07:51
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/impl In directory sc8-pr-cvs1:/tmp/cvs-serv5675/src/net/sf/hibernate/impl Modified Files: ScrollableResultsImpl.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: ScrollableResultsImpl.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/impl/ScrollableResultsImpl.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ScrollableResultsImpl.java 5 Jan 2003 02:11:21 -0000 1.3 --- ScrollableResultsImpl.java 12 Jan 2003 07:07:49 -0000 1.4 *************** *** 252,255 **** --- 252,269 ---- } + /** + * @see net.sf.hibernate.ScrollableResults#isFirst() + */ + public boolean isFirst() throws SQLException, HibernateException { + return rs.isFirst(); + } + + /** + * @see net.sf.hibernate.ScrollableResults#isLast() + */ + public boolean isLast() throws SQLException, HibernateException { + return rs.isLast(); + } + } |