I have classes which deal with tables individually.
In each class, it has the following lines to get connection pooling
and then commit a single table.
Context envCtx = (Context) ctx.lookup(java:comp/env);
DataSource ds = (DataSource) envCtx.lookup(jdbc/myERP);
conn = ds.getConnection();
thanks
On 12/6/05, Varley, Roger [EMAIL PROTECTED] wrote:
I have classes which deal with tables individually.
In each class, it has the following lines to get connection pooling
and then commit a single table.
Context envCtx = (Context) ctx.lookup(java:comp/env);
DataSource ds =