Subject | how do i get pooled connection |
---|---|
Author | fedd_kraft |
Post date | 2005-07-22T23:39:46Z |
Hello!
didn't quite get how to do this with 'new' framework...
if I instaniate FBConnectionPoolDataSource, it gives PooledConnection;
if i get through the driver manager, i have no access to firebird
specifics (rolename etc).
what should I do to be sure that connection/statement pooling is
switched on?
i want it to be as easy as in faq:
002 Connection connection = dataSource.getConnection();
but what that 'dataSource' object is made from?
fedd
ps. Roman, 'that' problem is still uninvestigated. cured with
explicitly setting /tmp directory as directory for temp files. i will
write more details later in that thread
didn't quite get how to do this with 'new' framework...
if I instaniate FBConnectionPoolDataSource, it gives PooledConnection;
if i get through the driver manager, i have no access to firebird
specifics (rolename etc).
what should I do to be sure that connection/statement pooling is
switched on?
i want it to be as easy as in faq:
002 Connection connection = dataSource.getConnection();
but what that 'dataSource' object is made from?
fedd
ps. Roman, 'that' problem is still uninvestigated. cured with
explicitly setting /tmp directory as directory for temp files. i will
write more details later in that thread