db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: derby and torque transaction handling
Date Thu, 06 Apr 2006 02:25:23 GMT
Glenn Marintes wrote:

> Hi All,
> 
> How do we use transactions in Derby using Torque?
> 
> |static java.sql.Connection| |*begin
> <cid:part1.03000304.02020606@janet.co.jp>*(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.


Mime
View raw message