You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Catalina Wei (JIRA)" <ji...@apache.org> on 2010/04/15 23:30:48 UTC

[jira] Commented: (OPENJPA-1632) Add @VersionColumn and @VersionStrategy to orm.xml

    [ https://issues.apache.org/jira/browse/OPENJPA-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857549#action_12857549 ] 

Catalina Wei commented on OPENJPA-1632:
---------------------------------------

The patch looks good.

> Add @VersionColumn and @VersionStrategy to orm.xml
> --------------------------------------------------
>
>                 Key: OPENJPA-1632
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1632
>             Project: OpenJPA
>          Issue Type: Improvement
>    Affects Versions: 2.1.0
>            Reporter: Fay Wang
>            Assignee: Fay Wang
>         Attachments: OPENJPA-1632.patch
>
>
> Add support of @VersionColumn and @VersionStrategy to orm.xml:
>     <entity class="dbgenvsn.EntityA" >
>     	<version-strategy name="com.ibm.websphere.persistence.RowChangeTimestampStrategy" />
> 	<version-column name="versionColumn" />    	 
>     </entity>
> so that the source EntityA does not need to recompile to enable a particular version strategy.

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