What's the ctx you are referring to here?

Travis Reeder
Chief Software Architect
www.ThinkVirtual.com


---- Original Message ----
From: [EMAIL PROTECTED]
Sent: 2000-12-06 06:20:29.0
To: [EMAIL PROTECTED]
Subject: RE: Re: Connection Pooling ----JRun3.0



Use this:

String data_string ="java:comp/env/jdbc/thinPool";
DataSource ds = (DataSource)ctx.lookup(data_string);
Connection con = ds.getConnection();

Thomas Kirsch


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to