discriminator-value in head class missing
-----------------------------------------
Key: HIB-128
URL: http://jira.andromda.org/browse/HIB-128
Project: Hibernate Cartridge
Type: Bug
Versions: 3.0 Final, 3.1M1
Environment: All environments
Reporter: Jörn Gebhardt
Assigned to: Carlos Cuenca
If inheritance is used for entites and the inheritance strategy is
"hibernateInheritanceClass" and the root/parent class is not abstarct it should
have a discriminator-value in its class definition. However, currently only the
subclasses get the discriminator-value attribute assigned.
To fix this bug the class definition in the hibernate.hbm.xml.vsl template
should be extended by the following expression (or something similar):
#if (!$entity.specializations.empty && $entity.hibernateInheritanceClass &&
!$entity.abstract) discriminator-value="$entity.entityImplementationName"#end
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel