Re: Microsoft JDBC driver support connection pooling out of the box

From: Joe Weinstein (joeNOSPAM_at_bea.com)
Date: 04/01/04


Date: Thu, 01 Apr 2004 09:24:58 -0800
To: John Harkin <john.harkin@singularity.co.uk>


John Harkin wrote:

> Hi,
> I'm pretty new to JDBC so bare with me.
> If using Jdbc outside of an application/J2ee server with the Microsoft
> Jdbc driver what is teh correct procedure/code for ensuring
> connections are pooled.
> I've seen quite a few posts about this but to be honest mostly of
> little use.
> A code snippet would be great.
>
> Some of my colleagues have saud you don't get pooling without a
> application/J2ee server , is this correct?
>
> Regards

Some drivers will offer an internal poooing feature, which can be
useful for long-running applications that use lots of connections,
opening and closing them frequently. If the app is short-lived,
or just opens connections and keeps them until it exits, then
pooling won't help.
    In any case, the free MS driver has no internal connection pooling.
Joe Weinstein at BEA



Relevant Pages

  • Re: Jdbc connection pooling without app/J2ee server
    ... > If using Jdbc outside of an application/J2ee server with the Microsoft ... Some drivers will offer an internal pooling feature, ... useful for long-running applications that use lots of connections, ... then pooling in the driver won't be able to help. ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: Best practice for initializing JDBC connection in Servlets.
    ... > access the servlet simultaneously? ... initialize the JDBC driver in initand manage connections in doGet. ...
    (comp.lang.java.programmer)
  • jdbc commit issue
    ... I'm facing some problems with the JDBC connection commit. ... I'm using an Oracle8i client and server. ... The flow of logic is such that I acquire 2 to 3 connections to my ... the connections where update statements are fired. ...
    (comp.lang.java.databases)
  • jdbc commit issue
    ... I'm facing some problems with the JDBC connection commit. ... I'm using an Oracle8i client and server. ... The flow of logic is such that I acquire 2 to 3 connections to my ... the connections where update statements are fired. ...
    (comp.lang.java.databases)
  • jdbc commit issue
    ... I'm facing some problems with the JDBC connection commit. ... I'm using an Oracle8i client and server. ... The flow of logic is such that I acquire 2 to 3 connections to my ... the connections where update statements are fired. ...
    (comp.lang.java.databases)