From: | paul guermonprez <paul(at)integragen(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | class loading ... |
Date: | 2003-01-13 10:53:13 |
Message-ID: | 3E229A99.F9BB20C8@integragen.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
hello,
i haven't found a way to load dynamically a jdbc3 driver.
for basic driver i use :
Class.forName( "org.postgresql.Driver" ) ;
Connection con = DriverManager.getConnection( url , login , pwd ) ;
...
but with Jdbc3PoolingDateSource it doesn't work. i tried :
Class.forName( "org.postgresql.Driver" ) ;
Jdbc3PoolingDateSource source = new Jdbc3PoolingDateSource() ;
...
or :
Class.forName( "org.postgresql.jdbc3.Jdbc3PoolingDateSource" ) ;
Jdbc3PoolingDateSource source = new Jdbc3PoolingDateSource() ;
...
but it doesn't work. to make it i have to specify :
org.postgresql.jdbc3.Jdbc3PoolingDateSource source =
new org.postgresql.jdbc3.Jdbc3PoolingDateSource() ;
...
but it not dynamically loaded.
thanks, paul.
From | Date | Subject | |
---|---|---|---|
Next Message | Charles H. Woloszynski | 2003-01-13 13:08:02 | Re: [PERFORM] join over 12 tables takes 3 secs to plan |
Previous Message | Th Templ | 2003-01-13 09:54:40 | Performance of request of type WHERE ... IN ( ... ) |