Patches item #835671, was opened at 2003-11-04 13:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=835671&group_id=22866

Category: JBossTX
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Dave Richardson (daverich)
Assigned to: Nobody/Anonymous (nobody)
Summary: checkTransaction in WrappedStatement.jpp.executeBatch

Initial Comment:
In JBoss 3.2.2: 
org.jboss.resource.adapter.jdbc.WrappedStatement.jpp 
the call to checkTransaction() is missing in executeBatch
(). The other transactional methods such as execute, 
executeQuery, executeUpdate correctly call 
checkTransaction to synchronize the autoCommit state 
with the underlying connection.
Here's the result of diff-u for my patch:

--- 3.2.2.org\WrappedStatement.jpp      Tue Feb 18 
14:35:30 2003
+++ 3.2.2.patch\WrappedStatement.jpp    Tue Nov  
4 09:18:37 2003
@@ -696,6 +696,7 @@
     */
    public int[] executeBatch() throws SQLException
    {
+      checkTransaction();
       try 
       {
          return s.executeBatch();


Hope this helps to keep the good work up!
Dave Richardson


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=835671&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to