[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1980) disallow the mapping combination of <version/> and optimistic-lock

Steve Ebersole (JIRA) noreply at atlassian.com
Sun Aug 6 12:13:18 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1980?page=all ]
     
Steve Ebersole closed HHH-1980:
-------------------------------

    Resolution: Fixed

trunk and 3.2 branch

> disallow the mapping combination of <version/> and optimistic-lock
> ------------------------------------------------------------------
>
>          Key: HHH-1980
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1980
>      Project: Hibernate3
>         Type: Improvement

>   Components: core
>     Reporter: Steve Ebersole
>     Assignee: Steve Ebersole
>     Priority: Minor
>      Fix For: 3.2.0.ga

>
>
> After fixing HHH-1677, some tests started to fail.  The reason they fail is that the code used to fix it assumes that either a version/timestamp is used or optimistic-lock is used but that these two options are mutually exclusive.  However, that is currently not the case as this combination is not validated against.
> These two settings obviously do not make sense together.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list