Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Autoclose Database Conection.

Edward D.G.Dec 12 2012 — edited Dec 12 2012
I created this oracle conection for call Ireport's repots:

Context ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/myConnectionDS");

How can i set it for it close automatically in 20 second after it be uses it?
This post has been answered by EonvanTonder on Dec 12 2012
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 9 2013
Added on Dec 12 2012
2 comments
146 views