Greg Monroe wrote:
> Connection srcConn = Torque.getConnection("databaseA");
> Connection destConn = Torque.getConnection("databaseB");
Don't want to be picky, but the recommended method is
Connection srcConn = Transaction.begin("databaseA");
> } finally {
> Torque.closeConnection(srcConn);
and Transaction.commit(srcConn), respectively.
BTW: The limitations with your described approach look serious to me.
You would need a lot of comments to explain what you're about to do,
wouldn't you?
Bye, Thomas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]