openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catalina Wei (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1632) Add @VersionColumn and @VersionStrategy to orm.xml
Date Fri, 16 Apr 2010 07:29:26 GMT

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

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

Jeremy was right.
@VersionColumn and @VersionStrategy are OpenJPA extenstions. 
The xml tags <version-strategy>  and <version-column>  are not defined in orm_2_0.xsd
nor in orm_1_0.xsd.

> 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

        

Mime
View raw message