[jboss-jira] [JBoss JIRA] (WFLY-2902) LockModeType.PESSIMISTIC_WRITE reported as NONE in the logs

Jari Juslin (JIRA) issues at jboss.org
Tue Feb 11 05:21:28 EST 2014


Jari Juslin created WFLY-2902:
---------------------------------

             Summary: LockModeType.PESSIMISTIC_WRITE reported as NONE in the logs
                 Key: WFLY-2902
                 URL: https://issues.jboss.org/browse/WFLY-2902
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: JPA / Hibernate
    Affects Versions: 8.0.0.CR1
         Environment: Ubuntu 13.10, Oracle JVM 1.7.0u51.
            Reporter: Jari Juslin
            Assignee: Scott Marlow
            Priority: Minor


The method getLockModeAsString reports lock mode  
LockModeType.PESSIMISTIC_WRITE as "none".

This of course is a cosmetic issue, but highly misleading, considering PESSIMISTIC_WRITE is pretty much on the opposite end of the spectrum from NONE. Ie. looking at the logs it's not possible to know if there was the strictest possible lock or no lock at all.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list