Hi,
is it possible that there is a discriminator-value bug in the Hibernate cartridge? The hibernate.hbm.xml.vsl template contains the following line: <class name="$entity.fullyQualifiedEntityImplementationName" table="$entity.tableName"#if($entity.hibernateProxy) proxy="$entity.fullyQualifiedEntityImplementationName"#end dynamic-insert="$entity.dynamicInsert" dynamic-update="$entity.dynamicUpdate"> However, if I use inheritance and the base class is not abstract this line should also contain the discriminator value like this: #if (!$entity.specializations.empty && $entity.hibernateInheritanceClass) discriminator-value="$entity.entityImplementationName"#end Otherwise it wouldn't be possible to store the base entity in the DB. Is that correct? Best regards, Jörn _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3744#3744 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- 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-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user