cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

JDBCDriverException: SAP DBTech JDBC: Object is closed: com.sap.db.jdbc.ConnectionSapDBFinalize

Giancarlo
Product and Topic Expert
Product and Topic Expert
0 Likes
10,477

Hi guys,

I have a problem performing a query on hana with jdbc driver (v83).

When trying to perform a query I got this:

com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Object is closed: com.sap.db.jdbc.ConnectionSapDBFinalize@1dc6b0b9[ID 214391].

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

         at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateSQLException(SQLExceptionSapDB.java:136)

         at com.sap.db.jdbc.ConnectionSapDB.assertOpen(ConnectionSapDB.java:204)

         at com.sap.db.jdbc.ConnectionSapDB.prepareStatement(ConnectionSapDB.java:1356)

         at com.sap.db.jdbc.trace.Connection.prepareStatement(Connection.java:413)

         at com.jolbox.bonecp.ConnectionHandle.prepareStatement(ConnectionHandle.java:1024)

Have you any clue what does mean, please? Is it referring to a closed connection?

Thank you,

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182114
Active Contributor
0 Likes

Hi Giancarlo,

This can happens if the database goes down after you connect or connection is lost.

The database is enable?

It's a specific query only?

If you just SELECT * FROM DUMMY it works?

Regards, Fernando Da Rós