Quantcast
Channel: SCN : Discussion List - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3131

JDBC batching

$
0
0


Currently testing a JAVA application which uses JDBC connectivity to connect to target database.

Connecting to trial HANA instance over DB tunnel and running application on local PC.

Most of the application functionality is working except for the batch data inserts to the database.

 

The application uses standard JDBC batching techniques to insert data:

  • PreparedStatement
  • addBatch (around 100 records in each batch)
  • executeBatch

 

What I am finding is that the application hangs within the call to executeBatch and never returns.

SQL trace from session is attached.

The target table only has a handful of rows.

 

So the questions:

  1. Is there published documentation which define the properties that a HANA JDBC connector supports ?
  2. Does the HANA JDBC driver support standard JDBC batching ?

        The persistence examples in the SDK show the use of PreparedStatement but not within a batching context.

 

Any assistance/advice gratefully received.


Viewing all articles
Browse latest Browse all 3131

Trending Articles



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