You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by bu...@apache.org on 2011/10/27 15:42:39 UTC

DO NOT REPLY [Bug 52099] New: Allow to set the transaction isolation in the JDBC Connection Configuration

https://issues.apache.org/bugzilla/show_bug.cgi?id=52099

             Bug #: 52099
           Summary: Allow to set the transaction isolation in the JDBC
                    Connection Configuration
           Product: JMeter
           Version: Nightly (Please specify date)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: Main
        AssignedTo: notifications@jakarta.apache.org
        ReportedBy: rbargezi@infonic.net
    Classification: Unclassified


For some of our testing we need to be able to set the transaction isolation
level of the JDBC connection. This request thus asks to enhance the JDBC
Connection Configuration bean to allow for setting the Transaction Isolation
Level.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52099] Allow to set the transaction isolation in the JDBC Connection Configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52099

--- Comment #5 from Roman <rb...@infonic.net> 2011-10-28 05:42:38 UTC ---
Created attachment 27858
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27858
Proposed fix for Revision 1190010 of DataSourceElementBeanInfo.java

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52099] Allow to set the transaction isolation in the JDBC Connection Configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52099

Roman <rb...@infonic.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52099] Allow to set the transaction isolation in the JDBC Connection Configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52099

Roman <rb...@infonic.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #3 from Roman <rb...@infonic.net> 2011-10-27 22:03:46 UTC ---
Please do not restrict the list to "valid" entries! Some drivers support
transaction isolation levels that are not part of predefined JDBC isolation
modes. We for instance require to run our transactions in snapshot isolation
mode which is specific to MS SQL Server (code 4096). Thus you should remove the
NOT_OTHER setting or set it to true.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52099] Allow to set the transaction isolation in the JDBC Connection Configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52099

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
         Resolution|                            |FIXED

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> 2011-10-27 20:40:06 UTC ---
Applied part of patch and changed the following:
- Restricted combo box to the only accepted values + DEFAULT(don't set
transactionLevel)
- Removed constants from Resource file
- Used a HashMap instead of 2 tables


Date: Thu Oct 27 20:40:43 2011
New Revision: 1190010

URL: http://svn.apache.org/viewvc?rev=1190010&view=rev
Log:
Bug 52099 - Allow to set the transaction isolation in the JDBC Connection
Configuration

Modified:
  
jakarta/jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElement.java
  
jakarta/jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java
  
jakarta/jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementResources.properties
  
jakarta/jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementResources_fr.properties
   jakarta/jmeter/trunk/xdocs/changes.xml

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52099] Allow to set the transaction isolation in the JDBC Connection Configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52099

--- Comment #1 from Roman <rb...@infonic.net> 2011-10-27 13:44:19 UTC ---
Created attachment 27855
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27855
Patch to nightly build revision 1182604 for porposed enhancement

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52099] Allow to set the transaction isolation in the JDBC Connection Configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52099

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> 2011-10-28 11:38:51 UTC ---
Date: Fri Oct 28 11:40:04 2011
New Revision: 1190256

URL: http://svn.apache.org/viewvc?rev=1190256&view=rev
Log:
Bug 52099 - Allow to set the transaction isolation in the JDBC Connection
Configuration

Modified:
  
jakarta/jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementBeanInfo.java

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52099] Allow to set the transaction isolation in the JDBC Connection Configuration

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52099

--- Comment #4 from Roman <rb...@infonic.net> 2011-10-27 22:06:18 UTC ---
Of course this also requires you to change the implementation of
getTransactionIsolationMode to parse the potential number enterd by the user.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org