Hi,
I'm developing an application in witch I need to use both jdbcBatchSize (because of performance requirements) and pessimistic locking (setting the lockMode to UPDATE) using Oracle 10g.
When I enable batchSize I lose pessimistic locking (I need it to be "real time", not when hibernate decides to execute the batch of jdbc statements in the db) and when I disable batchSize I get the pessimistic locking back.
How could I have both things working at the same time?
Is there a way to specify the jdbc batch size per hibernate session? (this could help I think. I saw
http://opensource.atlassian.com/project ... owse/HB-46 but it was rejected)
Thanks in advance!
Pablo.-