Hello, this is known bug and already fixed in the latest JDBC driver available at: ftp://ftp.sap.com/pub/sapdb/bin/java/sapdb-jdbc-bin-7.3.00.28a.jar
Marco ---------------------------------------------- Marco PASKAMP SAP DB, SAP Labs Berlin > -----Original Message----- > From: Jason Chesko [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 19. September 2002 18:37 > To: [EMAIL PROTECTED] > Subject: confusing JDBC Exception > > > We're new to using SAPDB but have been extremely happy > with it so far. That is until this morning when we > spent a couple of hours running in circles tracking > down a crazy (in our minds) bug. > > Can anyone explain why: > > rs = stmt.executeQuery(" SELECT * FROM department") > > generates: > > Exception: > com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB: SQL > Statement generates a row count > > but this works fine: > > rs = stmt.executeQuery("SELECT * FROM department") > > (Note: the extra space before SELECT in the first > example) > > We're using SAPDB 7.3.00.25 with the latest JDBC > driver. Is there a valid reason for this exception? > We've never encountered this with any other database > jdbc drivers. > > Thanks, > Jason Chesko > Lead Web Architect > Brightpoint North America, L.P. > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > _______________________________________________ > 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
