Message:

   The following issue has been re-assigned.

   Assignee: Paul Galbraith (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
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: Paul Galbraith
   Reporter: Steven Grimm

    Created: Sat, 7 May 2005 3:06 PM
    Updated: Wed, 25 May 2005 11:32 AM
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



-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to