[ https://issues.apache.org/jira/browse/OPENJPA-1632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857867#action_12857867
]
Fay Wang commented on OPENJPA-1632:
-----------------------------------
Yes, schema validation could be a problem. Although it is possible to validate against multiple
schema, we need to invent different tag instead of re-using existing <entity> tag.
> 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
|