From: <one...@us...> - 2002-12-15 05:12:43
|
Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate/impl In directory sc8-pr-cvs1:/tmp/cvs-serv26052/impl Modified Files: ScrollableResultsImpl.java Log Message: added getClob() Index: ScrollableResultsImpl.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/impl/ScrollableResultsImpl.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ScrollableResultsImpl.java 14 Dec 2002 09:27:55 -0000 1.8 --- ScrollableResultsImpl.java 15 Dec 2002 05:12:41 -0000 1.9 *************** *** 3,6 **** --- 3,8 ---- import java.math.BigDecimal; + import java.sql.Blob; + import java.sql.Clob; import java.sql.ResultSet; import java.sql.SQLException; *************** *** 115,120 **** * @see cirrus.hibernate.ScrollableResults#getBlob(int) */ ! public java.sql.Blob getBlob(int col) throws SQLException, HibernateException { ! return (java.sql.Blob) get(col); } --- 117,129 ---- * @see cirrus.hibernate.ScrollableResults#getBlob(int) */ ! public Blob getBlob(int col) throws SQLException, HibernateException { ! return (Blob) get(col); ! } ! ! /** ! * @see cirrus.hibernate.ScrollableResults#getClob(int) ! */ ! public Clob getClob(int col) throws SQLException, HibernateException { ! return (Clob) get(col); } |