DataSource object ?

Поиск
Список
Период
Сортировка
Искать

DataSource object ?

От:
"Nikola Milutinovic" <Nikola.Milutinovic@ev.co.yu>
Дата:
Hi all.

I'm bugging with Tomcat, JNDI and Tyrex. Until the main problem is resolved, I'd like to implement my dummy JNDI resource. I have a sample code for Oracle. The thing is that Oracle's JDBC driver has a DataSource object, while I cannot locate one in PostgreSQL's JAR.

What should I do?

Nix.

Re: DataSource object ?

От:
"David Hooker" <dhooker@a4networks.com>
Дата:
There is one in the source.  I've asked how to build it into the jar,
but got no response.  If you find out, let me know too.

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Nikola Milutinovic
Sent: Thursday, March 21, 2002 3:43 AM
To: PostgreSQL JDBC
Subject: [JDBC] DataSource object ?


Hi all.

I'm bugging with Tomcat, JNDI and Tyrex. Until the main problem is
resolved, I'd like to implement my dummy JNDI resource. I have a sample
code for Oracle. The thing is that Oracle's JDBC driver has a DataSource
object, while I cannot locate one in PostgreSQL's JAR.

What should I do?

Nix.

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html


Re: DataSource object ?

От:
"Dave Cramer" <Dave@micro-automation.net>
Дата:
David,

You need to get the extra classes required for DataSources
(javax.sql.DataSource), and put them in your class path. When they are
available the driver will be built with them

Dave

> -----Original Message-----
> From: pgsql-jdbc-owner@postgresql.org 
> [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of David Hooker
> Sent: Thursday, March 21, 2002 12:17 PM
> To: 'Nikola Milutinovic'
> Cc: 'PostgreSQL JDBC'
> Subject: Re: [JDBC] DataSource object ?
> 
> 
> There is one in the source.  I've asked how to build it into 
> the jar, but got no response.  If you find out, let me know too.
> 
> -----Original Message-----
> From: pgsql-jdbc-owner@postgresql.org 
> [mailto:pgsql-jdbc-owner@postgresql.org] On > Behalf Of Nikola 
> Milutinovic
> Sent: Thursday, March 21, 2002 3:43 AM
> To: PostgreSQL JDBC
> Subject: [JDBC] DataSource object ?
> 
> 
> Hi all.
> 
> I'm bugging with Tomcat, JNDI and Tyrex. Until the main 
> problem is resolved, I'd like to implement my dummy JNDI 
> resource. I have a sample code for Oracle. The thing is that 
> Oracle's JDBC driver has a DataSource object, while I cannot 
> locate one in PostgreSQL's JAR.
> 
> What should I do?
> 
> Nix.
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
http://www.postgresql.org/users-lounge/docs/faq.html



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


FAQ