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"