you could model an OCL query on the entity, unfortunately I don't immediately 
see what it would look like



the difficulty here also is enabling the hibernate cartridge to interpret it 
and having the proper stuff generated from it



alternatively you might just want to work with a tagged value for now, placing 
it on the entity and listing all attributes that make up the unique key



something like this



@andromda.persistence.entity.unique.attributes=one,two,three

(just a small example to make a point)



that would be easy to read so a template can render to the proper stuff
--
Wouter Zoons - [EMAIL PROTECTED]

http://www.andromda.org/
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2155#2155
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to