Subject | FBWrappingDataSource API?! |
---|---|
Author | Cristiano Moreira Silva |
Post date | 2002-11-17T18:18:42Z |
Hi. I'm using the built-in connection pooling with
FBWrappingDataSource. I was serching the correct way
to use this DataSource implementation, I've found out
this message at the firebird-java list:
"On 2002.07.03 12:06:47 -0400 Rick Fincher wrote:
also;-)"
But it doen't happen. With a servlet, I first get a
connection, do a simple select a retrieve data with a
resultset (after this I close this set), and close the
connection. I open the database server properties box
and see that it's 5 connections active! If I continue
my application, the occur pool overflow.
Well, where can I find a FBWrappingDataSource api, or
documentation? Do you know how can I manage correctly
the firebird built-in pool? Thanks.
=====
____________________________________________________________
Cristiano Moreira Silva
Site - http://computologo.vila.bol.com.br
E-mail - crisbrsp@...
"Tudo posso nAquele que me fortalece." Fp. 4:13
_______________________________________________________________________
Yahoo! GeoCities
Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios.
http://br.geocities.yahoo.com/
FBWrappingDataSource. I was serching the correct way
to use this DataSource implementation, I've found out
this message at the firebird-java list:
"On 2002.07.03 12:06:47 -0400 Rick Fincher wrote:
> Hi,running. Let me see if I
>
> I'm trying to get built in connection pooling
> have the concept straight:the driver manager.
>
> 1. Use FBWrapping DataSource instead of FBDriver and
>pooling to true.
> 2. After instantiating FBWrappingDataSource set
>close connections.
> 3. Use calls to the FBWrappingDataSource to get and
>Yes. I think you need to set the size of the pool
> Is this correct?
also;-)"
But it doen't happen. With a servlet, I first get a
connection, do a simple select a retrieve data with a
resultset (after this I close this set), and close the
connection. I open the database server properties box
and see that it's 5 connections active! If I continue
my application, the occur pool overflow.
Well, where can I find a FBWrappingDataSource api, or
documentation? Do you know how can I manage correctly
the firebird built-in pool? Thanks.
=====
____________________________________________________________
Cristiano Moreira Silva
Site - http://computologo.vila.bol.com.br
E-mail - crisbrsp@...
"Tudo posso nAquele que me fortalece." Fp. 4:13
_______________________________________________________________________
Yahoo! GeoCities
Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios.
http://br.geocities.yahoo.com/