: <[EMAIL PROTECTED]>
Sent: Thursday, May 10, 2001 8:44 AM
Subject: [JBoss-user] How to get connection
> hi,
> I am pretty new 2 JBoss.Query i have is i have deployed a
> connection pool in the JBoss Server,now how will i get the connection
object
> fro
hi,
I am pretty new 2 JBoss.Query i have is i have deployed a
connection pool in the JBoss Server,now how will i get the connection object
from from the Server context 2 the Session Bean.
thanking you
regar
ent: Thursday, May 03, 2001 2:21 PM
Subject: [JBoss-user] how to get connection from a connection pool
> Hi,
> How do I obtain connection from the connection pool.
> I am using oracle database, and oracle thin driver.
>
> I get connection if I look up the Datasource ::
Hi,
How do I obtain connection from the connection pool.
I am using oracle database, and oracle thin driver.
I get connection if I look up the Datasource ::
InitialContext jndiContext = new InitialContext();
javax.sql.DataSource ds = (javax.sql.DataSource)
jndiContext.lookup("java:/OracleDS"