We have a lot of jdbc-based legacy code that should be integrated by castor code.
Is there a way to use both castor and jdbc queries inside the same transaction?
We where thinking about asking Castor a connection via (Connection) ((DatabaseImpl) db).getConnection() and then using it to do things with jdbc. If we get against any trouble we can ask Castor to rollback everything, both its and jdbc's alterations to the database. Is this the right way to do this?
What if we already have an open jdbc transaction to the database, could Castor hang on it?
Who should then be responsible of committing/rollbacking changes?
Should we use and external Transaction Manager, such as Tyrex?
thanks in advance, Luca
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
