[jboss-cvs] JBossAS SVN: r74780 - branches/JBPAPP_4_2_0_GA_CP/connector/src/main/org/jboss/resource/adapter/jdbc.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jun 18 05:47:28 EDT 2008


Author: jesper.pedersen
Date: 2008-06-18 05:47:27 -0400 (Wed, 18 Jun 2008)
New Revision: 74780

Modified:
   branches/JBPAPP_4_2_0_GA_CP/connector/src/main/org/jboss/resource/adapter/jdbc/WrappedStatement.java
Log:
[JBPAPP-892] Missing locking in WrappedStatement

Modified: branches/JBPAPP_4_2_0_GA_CP/connector/src/main/org/jboss/resource/adapter/jdbc/WrappedStatement.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/connector/src/main/org/jboss/resource/adapter/jdbc/WrappedStatement.java	2008-06-18 09:38:23 UTC (rev 74779)
+++ branches/JBPAPP_4_2_0_GA_CP/connector/src/main/org/jboss/resource/adapter/jdbc/WrappedStatement.java	2008-06-18 09:47:27 UTC (rev 74780)
@@ -131,6 +131,7 @@
 
    public boolean execute(String sql, int[] columnIndexes) throws SQLException
    {
+          lock();
 	  try
 	  {
 	      checkTransaction();
@@ -152,6 +153,7 @@
 
    public boolean execute(String sql, String[]columnNames ) throws SQLException
    {
+          lock();
 	  try
 	  {
 	      checkTransaction();




More information about the jboss-cvs-commits mailing list