Mr or Mrs:
proxool is good.I want to replace dbcp to proxool.My English is poor,Sorry.
I'm using informix,java code is:
IfxSmartBlob smb = new IfxSmartBlob(conn);
the conn is must be native connection and must instanceof IfxProtocol.so how can i get the native connection.
Thanks
Hi,
It depends which version of Proxool you're using. Both 0.8.3 and
0.9.0RC3 provide ProxoolFacade.getDelegateConnection(conn). The delegate
connection is the same as native connection.
smb = ProxoolFacade.getDelegateConnection(conn);
With 0.9.0RC3 it's even easier. You can just cast it:
smb = (IfxSmartBlob) conn;
Cheers,
Bill (Mr!)
On 03/12/2008 05:18 AM, 耿雷 wrote:
> Mr or Mrs:
> proxool is good.I want to replace dbcp to proxool.My English is poor,Sorry.
>
> I'm using informix,java code is:
>
> IfxSmartBlob smb = new IfxSmartBlob(conn);
> the conn is must be native connection and must instanceof IfxProtocol.so how can i get the native connection.
>
> Thanks
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Proxool-developer mailing list
> Pro...@li...
> https://lists.sourceforge.net/lists/listinfo/proxool-developer
>