@CollectionOfElements cannot be parsed into hbm xml mapping -----------------------------------------------------------
Key: HBX-1079 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1079 Project: Hibernate Tools Issue Type: Bug Affects Versions: 3.2.0.GA Reporter: Wytze van der Ploeg
I have an annotated entity which uses @CollectionOfElements annotation. When using hibernate tools to generate the corresponding hbm xml files I get an exception on this annotation.
Stacktrace:
11:59:21,447 INFO org.hibernate.tool.Version - Hibernate Tools 3.2.0.b9 11:59:22,057 ERROR freemarker.runtime - Expression property.getValue().getElement().referencedEntityName is undefined on line 22, column 41 in hbm/bag.hbm.ftl. The problematic instruction: ---------- ==> ${property.getValue().getElement().referencedEntityName} [on line 22, column 39 in hbm/bag.hbm.ftl] in include "${c2h.getTag(property)}.hbm.ftl" [on line 93, column 1 in hbm/persi stentclass.hbm.ftl] in include "persistentclass.hbm.ftl" [on line 34, column 1 in hbm/hibernate-map ping.hbm.ftl] ----------
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________ hibernate-issues mailing list hibernate-issues@(protected) https://lists.jboss.org/mailman/listinfo/hibernate-issues