Subject Re: [Firebird-Java] Using built-in connection pooling
Author David Jencks
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;-)

david jencks

>
> Thanks,
>
> Rick
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> <META content="MSHTML 6.00.2600.0" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=#ffffff>
>
>
> <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>I'm trying to get built in connection
> pooling
> running.  Let me see if I have the concept straight:</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>1. Use FBWrapping DataSource instead of
> FBDriver
> and the driver manager.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>2. After instantiating FBWrappingDataSource
> set
> pooling to true.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>3. Use calls to the FBWrappingDataSource to
> get and
> close connections.</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>Is this correct?</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT> </DIV>
> <DIV><FONT face=Arial size=2>Rick</FONT></DIV>
> <br>
>
> <!-- |**|begin egp html banner|**| -->
>
> <table border=0 cellspacing=0 cellpadding=2>
> <tr bgcolor=#FFFFCC>
> <td align=center><font size="-1" color=#003399><b>Yahoo! Groups
> Sponsor</b></font></td>
> </tr>
> <tr bgcolor=#FFFFFF>
> <td align=center width=470><a href="http://rd.yahoo.com/M=229641.2166546.3626727.1829184/D=egroupweb/S=1705006764:HM/A=1142327/R=0/*http://promo.yahoo.com/debtscape/">
> <img src="http://us.a1.yimg.com/us.yimg.com/a/de/debtscape/dt_57_468x60north.gif"
> width="468" height= "60" border= "0" > </a></td>
> </tr>
> </table>
>
> <!-- |**|end egp html banner|**| -->
>
>
> <br>
> <tt>
> To unsubscribe from this group, send an email to:<BR>
> Firebird-Java-unsubscribe@yahoogroups.com<BR>
> <BR>
> </tt>
> <br>
>
> <br>
> <tt>Your use of Yahoo! Groups is subject to the <a
> href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of
> Service</a>.</tt>
> </br>
>
> </BODY></HTML>
>