Implement uniqueGroup on entities in EJB3 cartridge ---------------------------------------------------
Key: EJB-94 URL: http://jira.andromda.org/browse/EJB-94 Project: EJB Cartridge Type: New Feature Environment: AndroMDA 3.3-SNAPSHOT + EJB3 cartridge Reporter: Olivier THIERRY Assigned to: Vance Karimi AndroMDA profiles delivers a @andromda.persistence.column.uniqueGroup that should be used to define unique constraints in a table. But this tagged value is not taken in account by EJB3 cartridge. In UML model you set the same value to this tagged value for columns you need to include in the unique constraint. These columns can be either entity attributes or association ends. >From this model, Hibernate cartridge generates a unique-key attribute in >.hbm.xml file. But it has to work a different way with EJB3 entities. The unique constraints have to be set within @Table annotation with uniqueConstraints attribute, which itself contains an array of @UniqueConstraint annotation. See this post on the forum : http://galaxy.andromda.org/forum/viewtopic.php?t=5215 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/