[ http://team.andromda.org:8080/jira/browse/HIB-15?page=history ]
Wouter Zoons closed HIB-15:
---------------------------
Resolution: Fixed
> Enumeration Support
> -------------------
>
> Key: HIB-15
> URL: http://team.andromda.org:8080/jira/browse/HIB-15
> Project: Hibernate Cartridge
> Type: New Feature
> Reporter: Davin Coleman
> Assignee: Wouter Zoons
>
>
> Enumerations are not supported by the hibernate cartridge. Hibernate supports
> enumerations provided the enumeration implements
> net.sf.hibernate.PersistentEnum. The enumeration generated by Java cartridge
> should not implement this interface as it incures a dependency on the
> hibernate framework.
> I have added another template to hibernate cartridge that generates a
> enumeration_hiberate class which implements net.sf.hibernate.PersistentEnum
> and extends the normal enumeration. Only works with enumerations that have
> int attributes. The persistent enumeration is identified by marking the class
> with <<Enumeration>> & <<Entity>>.
> Only generates the enumeration_hibernate if the stereotype is <<Enumeration>>
> & <<Entity>>. I don't generate the normal Entity and factory if
> <<Enumeration>>.
> I have done the modifications and testing it. Once I am happy I will submit.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://team.andromda.org:8080/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel