Subject Re: [Firebird-Java] FBWrappingDataSource API?!
Author Rick Fincher
Hi Cristiano,

Which version are you using? This sounds like a problem with an earlier
version that has since been fixed.

Have you seen the release notes? There is example code in there for using
FBWrappingDataSource.

Which servlet continer are you using?

Which OS are you using? What version of the JVM?

Rick


----- Original Message -----
From: "Cristiano Moreira Silva" <crisbrsp@...>
To: <Firebird-Java@yahoogroups.com>
Sent: Sunday, November 17, 2002 1:18 PM
Subject: [Firebird-Java] FBWrappingDataSource API?!


> 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:
> > Hi,
> >
> > I'm trying to get built in connection pooling
> running. Let me see if I
> > have the concept straight:
> >
> > 1. Use FBWrapping DataSource instead of FBDriver and
> the driver manager.
> >
> > 2. After instantiating FBWrappingDataSource set
> pooling to true.
> >
> > 3. Use calls to the FBWrappingDataSource to get and
> close connections.
> >
> > Is this correct?
> Yes. I think you need to set the size of the pool
> 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/
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>