To investigate the reason, you should monitor lock first, for example, as the following:
dmSQL> select USER_NAME, TABLE_NAME, SYSLOCK.LK_OBJECT_ID,
SYSLOCK.LK_GRAN, SYSLOCK.HOLD_LK_CONNECTION, SYSLOCK.LK_CURRENT_MODE
from
For example:
We have a table with schema:
dmSQL> def table card1;
create table SYSADM.CARD1 (
NUM SERIAL(1),
DD INTEGER not null,
EE CHAR(1) not null,
FIRSTNAME
User should modify their application to prepare once and execute n times.
For example:
ps2 = this.conn.prepareStatement("insert into TESTDB values(?, ?, ?);");