and what if you would use a non-primitive enumeration literal type ? java.lang.Integer instead of int, wouldn't that also solve your problem for now ?
in order to create a patch you can either use Eclipse (can't help you there since I'm using IntelliJ) or the patch command in Linux or Cygwin
you would need to patch templates/hibernate/HibernateEnumeration.vsl in the hibernate cartridge, if you file an issue in JIRA with the new template in attachment I will apply the patch for you
I assume the patch would simply involve a null check when the literal type is primitive
Wouter Zoons - wouter [at] andromda [dot] org
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=7469#7469
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
Get latest updates about Open Source Projects, Conferences and News.