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:
- Is there published documentation which define the properties that a HANA JDBC connector supports ?
- 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.