Hello,
I have found the batch-mode attribute in the jdbc-connection-descriptor.
Unfortunately, it does not switch off batches completely. In class
org.apache.ojb.odmg.ObjectEnvelopeTable, line 177 ff there is:
// 0. turn on the batch mode
connMan.setBatchMode(true); // oma: false instead of true works
around a bug in Sybase ASE
// 1. upgrade implicit locks.
upgradeImplicitLocksAndCheckIfCommitIsNeeded();
// 2. Reorder objects
reorder();
// 3. commit objects.
commitAllEnvelopes(broker);
// 4. execute batch
connMan.executeBatch();
I would like to be able to switch off batching completely in order to
work around sybase known issue #202534, see
http://manuals.sybase.com/onlinebooks/group-jc/jcg0420e/jcon52rb/@Generic__B
ookTextView/670
Can somebody explain why the batch-mode setting is overridden in this
context?
Thank you for any hints,
Olli
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]