[ http://jira.andromda.org/browse/HIB-187?page=comments#action_12791 ] 

Jamie Cash commented on HIB-187:
--------------------------------

The tag @andromda.persistence.equality.column was added and committed (3.2 
snapshot) to the andromda model by wouter.zoons on 21st May.

http://galaxy.andromda.org/forum/viewtopic.php?t=2355

Further development required:
getEqualityColumns needs to be added to HibernateEntity.java. This method 
should return all attributes and association ends that are marked with the 
@andromda.persistence.column.equality tag.
HibernateEntity.vsl needs to be changed to check for equality columns and pass 
them to the equals method template if the entity is transient (id is not set). 
The equals method comment should change as well.


> Equality columns
> ----------------
>
>          Key: HIB-187
>          URL: http://jira.andromda.org/browse/HIB-187
>      Project: Hibernate Cartridge
>         Type: Improvement

>  Environment: All
>     Reporter: Jamie Cash
>     Assignee: Carlos Cuenca
>     Priority: Minor

>
> Change hibernate template so that equals columns can be specified in model. 
> If they are not specified then use identity columns.
> Equality columns to be specified by attribute level @andromda.equality.column 
> tag.
> I have documented the design approach that I intend to take in the following 
> forum thread.
> http://galaxy.andromda.org/forum/viewtopic.php?p=12237#12237

-- 
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



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Reply via email to