Skip to Content
author's profile photo Former Member
Former Member

Getting exception while using preparedStatement Hana

I am trying to use ngdbc 1.00.92 in a project to use HANA as my storage. When the framework is executing an insert statement by preparing it, I am getting the following stacktrace

[vert.x-worker-thread-4] DEBUG com.mchange.v2.c3p0.impl.NewPooledConnection - com.mchange.v2.c3p0.impl.NewPooledConnection@2ca2b427 handling a throwable. java.lang.UnsupportedOperationException: Method prepareStatement() is not yet implemented. at com.sap.db.jdbc.ConnectionSapDB.prepareStatement(ConnectionSapDB.java:1926) at com.sap.db.jdbc.trace.Connection.prepareStatement(Connection.java:393) at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:263) at io.vertx.ext.jdbc.impl.actions.JDBCUpdate.prepareStatement(JDBCUpdate.java:80) at io.vertx.ext.jdbc.impl.actions.JDBCUpdate.execute(JDBCUpdate.java:85) at io.vertx.ext.jdbc.impl.actions.JDBCUpdate.execute(JDBCUpdate.java:31) at io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction.handle(AbstractJDBCAction.java:58) at io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction.lambda$execute$0(AbstractJDBCAction.java:66) at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:278) at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:80) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 15:58:27.976 [vert.x-worker-thread-4] DEBUG com.mchange.v2.sql.SqlUtils - Converting Throwable to SQLException... java.lang.UnsupportedOperationException: Method prepareStatement() is not yet implemented. at com.sap.db.jdbc.ConnectionSapDB.prepareStatement(ConnectionSapDB.java:1926) at com.sap.db.jdbc.trace.Connection.prepareStatement(Connection.java:393) at com.mchange.v2.c3p0.impl.NewProxyConnection.prepareStatement(NewProxyConnection.java:263) at io.vertx.ext.jdbc.impl.actions.JDBCUpdate.prepareStatement(JDBCUpdate.java:80) at io.vertx.ext.jdbc.impl.actions.JDBCUpdate.execute(JDBCUpdate.java:85) at io.vertx.ext.jdbc.impl.actions.JDBCUpdate.execute(JDBCUpdate.java:31) at io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction.handle(AbstractJDBCAction.java:58) at io.vertx.ext.jdbc.impl.actions.AbstractJDBCAction.lambda$execute$0(AbstractJDBCAction.java:66) at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:278) at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:80) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

I am not sure if the error is correct since there is another project in which we use the same driver with Hibernate and it works. Could anyone please point out what is going wrong here?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.