Glenn Marintes wrote:

> Hi All,
> 
> How do we use transactions in Derby using Torque?
> 
> |static java.sql.Connection| |*begin
> <cid:[email protected]>*(java.lang.String dbName)|
> 
> method of Transaction class returns a Connection. And to do that, I believe
> that it will try to make a connection to the database. Since Derby
> supports only
> 1 connection, it wont work?

Derby supports multiple connections. Other than that I'm not sure I can
help. Does this tutorial help?

http://db.apache.org/derby/integrate/db_torque.html

Dan.

Reply via email to