Subject | Re: [Firebird-Java] Various transactions for one connection |
---|---|
Author | Jim Starkey |
Post date | 2004-10-19T13:11:38Z |
Roman Rokytskyy wrote:
cloneConnection() method that would multiplex on the same database
attachment while giving a separate transaction. The implementation
should be simple, though it might slightly complicate the object accounting.
>>In Delphi, using IBX for acessing Firebird, I use one TIBDatabaseSomething you might consider adding to the Jaybird Connection class is a
>>for connection and various TIBTransaction for transactions... I may
>>set the DefaultDatabase's property of each TIBTransaction for only
>>one TIBDatabase. In such case, is possible associate each
>>transaction with one query.
>>
>>
>>
>It is not possible. In JDBC only one transaction is associated with the
>connection. This is defined in specification. If you wish, you can try
>programming in the Firebird API where this feature is available, but I would
>recommend to get used to this approach.
>
>
>
cloneConnection() method that would multiplex on the same database
attachment while giving a separate transaction. The implementation
should be simple, though it might slightly complicate the object accounting.