If you are using DriverManager, then you are just getting a straightforward
JDBC connection, and JBoss has nothing to do with it.  So use your standard
url string; here is a sample for Oracle:

"jdbc:oracle:thin:@xyz.mycompany.com:1521:mydb"

----- Original Message -----
From: "Jennifer Labit" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 26, 2001 6:58 PM
Subject: [JBoss-user] Getting a database connection using the jBoss
connection pool


> All,
>
> I need to be able to connect to my connection pool using something like
> this:
>
> DriverManager.getConnection("jdbc:xxx:yyy:MyPoolName")
> ...
>
> What is the jdbc connection url that I would use to do that with jBoss?
>
> I know the opinions on this list are that this isn't the ideal way to do
it,
> however, in this situation the database connection code needs to be
> appserver independent and this is the best way to achieve that goal.
>
> Thank you for your help.
>
> Jennifer
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to