[
https://issues.apache.org/jira/browse/LABS-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Gianni resolved LABS-389.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: Next)
Current
> [database] ITD with id and version for beans
> --------------------------------------------
>
> Key: LABS-389
> URL: https://issues.apache.org/jira/browse/LABS-389
> Project: Labs
> Issue Type: New Feature
> Components: Magma
> Affects Versions: Current
> Reporter: Simone Gianni
> Assignee: Simone Gianni
> Fix For: Current
>
>
> When a Magma managed bean is declared @Entity, an ITD should add the id and
> the version fields by default.
> Since there could be the possibility of using custom primary keys or wanting
> no version field (why?), then a way to customize it should be added :
> - If there is already an @Id annotated field/getter, don't add the field
> - Same if there is already a @Version
> - Check also for other possible JPA alternatives
> - Expecially for subclasses of existing entities
> - Provide annotations to manually avoid the ITD
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]