Subject | Re: [IB-Java] Unmanaged scenario |
---|---|
Author | David Jencks |
Post date | 2001-11-11T14:24:16Z |
The Driver.conect method does use the StandAloneConnectionManager to get
its connection. However, it creates a FBManagedConnectionFactory and
FBStandAloneConnectionManager for each connection you ask for. Therefore,
using a FBDataSource obtained from a explicitly created
FBManagedConnectionFactory is considerably more efficient if you need more
than one connection in your app. It also provides the opportunity to use a
different ConnectionManager that supports e.g. pooling.
david jencks
its connection. However, it creates a FBManagedConnectionFactory and
FBStandAloneConnectionManager for each connection you ask for. Therefore,
using a FBDataSource obtained from a explicitly created
FBManagedConnectionFactory is considerably more efficient if you need more
than one connection in your app. It also provides the opportunity to use a
different ConnectionManager that supports e.g. pooling.
david jencks
On 2001.11.11 03:10:19 -0500 Massimo Ferrari wrote:
> > Would the autocommit support outlined above be pretty much what you
> want?
>
> That would be surely great.
> Further, what you said is right, for the unmanaged scenario the RA's
> default
> ConnectionManager must be used: so why not use it in Driver.connect to
> create the "un"managed connection? I think there should be no difference
> in
> getting a connection through the Driver or through the DataSource, both
> should rely on the current ConnectionManager.
>
> Massimo
>
>
>
>
> To unsubscribe from this group, send an email to:
> IB-Java-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>