Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3180

JDBC driver bug in Connection.setSavepoint()?

$
0
0

The driver seems to generate invalid SQL. Here's the error that I get when calling Connection.setSavepoint()

 

com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [257]: sql syntax error: incorrect syntax near "SAVEPOINT": line 1 col 1 (at pos 1)

          at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:334)

          at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:174)

          at com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:103)

          at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:875)

          at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:654)

          at com.sap.db.jdbc.StatementSapDB.sendCommand(StatementSapDB.java:896)

          at com.sap.db.jdbc.StatementSapDB.sendSQL(StatementSapDB.java:945)

          at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:255)

          at com.sap.db.jdbc.StatementSapDB.execute(StatementSapDB.java:224)

          at com.sap.db.jdbc.SavepointSapDB.setSavepoint(SavepointSapDB.java:162)

          at com.sap.db.jdbc.ConnectionSapDB.setSavepoint(ConnectionSapDB.java:1555)

          at com.sap.db.jdbc.trace.Connection.setSavepoint(Connection.java:492)

          at com.knoa.commons.sql.Connection.setSavepoint(Connection.java:466)

 

 

I'm using version 1.0 of the driver against HANA 1.0. Java version is 1.6


Viewing all articles
Browse latest Browse all 3180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>