At 10:20 PM 12/11/01 -0800, you wrote:
>At 12:17 PM 12/12/01 +1100, you wrote:
>>Not every database API supports connection pooling... Take Postgres for
>>example... The JDBC driver for 7.1.2/7.2 does not support connection
>>pooling...


I will get this all right yet.  I don't think there is a 7.2, is there?  I 
cannot see one on the PostgreSQL mirrors.  Is there a beta out there 
somewhere I don't have access to?

You have to make sure you get your driver from javax.sql.*.  There is also 
a driver for java.sql.*, of course.  Don't use that one, if you want a 
DataSource dirver.

If you don't see the pooling in my prior code, that is the magic.  That is 
taken care of.  All you have to do is call a connection.  When you do, you 
will magically see a pool appear with "ps aux" in Linux.

The DataSource object takes care of everything, including JNDI access.

I cannot wait until JDO is fully developed.  These are the golden days!

-- micael



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to