This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Refresh java.sql.Statement objects before using them in a new transaction. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Refresh java.sql.Statement objects before using them in a new transaction." Watch "Refresh java.sql.Statement objects before using them in a new transaction." New topic
Author

Refresh java.sql.Statement objects before using them in a new transaction.

Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
EJB 3.0 Core Specification: A session bean must also refresh any java.sql Statement objects before they are used in a new transaction context.
Can some one explain this in a bit detail and with some code.

****************************************
---------------
Environment
---------------
EJB Version : 3.0
Application Server: JBOSS 4.2.3.GA
J2SE: 1.5 or 5.0
OS: Windows XP
****************************************


SCJP, SCWCD, SCBCD
Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
Experts, Please take time and reply.
 
Don't get me started about those stupid light bulbs.
 
subject: Refresh java.sql.Statement objects before using them in a new transaction.