jQuery in Action, 2nd edition*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Refresh java.sql.Statement objects before using them in a new transaction.
 
Similar Threads
SCBCD 5.0 cleared with 100%
Doubts about refresh + merge function in JPA
Connection Pooling
To EJBor not EJB?
Nested Transaction in EJB 3.0