Hello Andrius, it is a bug, that this does not work with updatable result sets. I will fix this.
Thank you for reporting. Regards Alexander Schr�der SAP Labs Berlin > -----Original Message----- > From: Andrius Vilciauskas [mailto:andrizas@;centras.lt] > Sent: Thursday, November 07, 2002 7:43 AM > To: [EMAIL PROTECTED] > Subject: bug in jdbc driver ? > > > Hello, > I use code like this > > public boolean next() { > boolean rez = false; > try { > if (this.header.isLast()) return false; > rez = this.header.next(); > setChanged(); > String msg = "updateData"; > notifyObservers(msg); > } catch (SQLException e) { > System.out.println(e.getMessage()); > } > return rez; > } > > Everything works great with this > Statement st = getDbConn().createStatement(); > ResultSet header = st.executeQuery(headerSelectSQL); > In case > Statement st = > getDbConn().createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, > ResultSet.CONCUR_UPDATABLE); > ResultSet header = st.executeQuery(headerSelectSQL); > If resultset is in the last record I get error: SAP DBTech > JDBC: Result set > positioned after last row. > It seems to me that isLast method doesn't works at all ! > > > > > _______________________________________________ > sapdb.general mailing list > [EMAIL PROTECTED] > http://listserv.sap.com/mailman/listinfo/sapdb.general > _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
