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

Scott Marlow (JIRA) issues at jboss.org
Tue Feb 11 10:55:29 EST 2014


     [ https://issues.jboss.org/browse/WFLY-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow updated WFLY-2902:
-------------------------------

    Fix Version/s: 8.0.0.Final

    
> 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
>             Fix For: 8.0.0.Final
>
>
> 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