I've read all the posts relating to Torque & how to perform transactions,
but am still unclear on how to solve concurrency & data integrity issues
with Torque and mysql. My understanding is that mysql always commits
when each statement is complete. I assume that use of
o.a.t.u.db.adapter.DB.lockTable() for this purpose is bad practice if the
same code is to be portable with other databases which do support
transactions? Should I be adding synchronized OM methods, or perhaps
trying to implement row locks within peer classes? Again, these don't
seem like a good portable solutions.
I'm also puzzled because I can't see how scarab prevents database race
conditions, so suspect that I'm missing something obvious...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]