I need to use commit and rollback feature in DB2. With executeBatch() feature.
I am facing the problems
a) journalling features are contradicting with it
what does that mean? And how to get rid of that.
b) I am not sure what is the databse version. How to see the version of database and the compatibility as far as executeBatch() support is concerned
c) Do we need it mandatorily to use autoCommit= false for using executeBatch()
Again I also need to use executeBatch() in MSSQL. but to do so when I am trying to use setAutoCommit(false) I am getting error related to cursor lock.
Hve someone through such problems? Any help is appreciated.