Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1390 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1390 Summary: Mixing joined and discriminated subclasses results in illegal Hibernate config file Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: Hibernate Module Versions: 1.2.3 Assignee: xdoclet-devel (Use for new issues) Reporter: Steven Grimm Created: Sat, 7 May 2005 3:06 PM Updated: Sat, 7 May 2005 3:06 PM Environment: Debian Linux (sarge), J2SDK 1.4.2_05 Description: I have a hierarchy of persistent classes. Some of the subclasses store data in child tables, some don't. Hibernate supports this configuration as described in section 9.1.4 of the 3.0 documentation: http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#inheritance-mixing-tableperclass-tablepersubclass However, there appears to be no way to generate that kind of configuration using XDoclet. If I try to use @hibernate.joined-subclass, XDoclet generates an illegal Hibernate configuration file with a mix of <subclass> and <joined-subclass> tags, which is forbidden by the Hibernate configuration DTD. There should either be a new way to generate mixed-mode subclass definitions, or joined-subclass should be smart enough to use the alternate syntax if there is a discriminator on the parent. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel