The following comment has been added to this issue:
Author: Fran�ois Beausoleil
Created: Thu, 2 Dec 2004 9:53 PM
Body:
Having the same problem, but all my classes are concrete, and I have a class
sitting between my root and my subclass, something like this:
/** @hibernate.class ... */
class Activity {
}
class BodiedActivity extends Activity {
}
/** @hibernate.subclass ... */
class EmailActivity extends BodiedActivity {
}
I checked the patch - it seems pretty trivial to me. Only five changed lines.
Can this be applied ?
Thanks !
Fran�ois
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-697?page=comments#action_15410
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-697
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-697
Summary: Hibernate module ignores interface "subclassing"
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Hibernate Module
Versions:
1.2 Beta 3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Jan Berkel
Created: Sun, 2 Nov 2003 6:57 PM
Updated: Thu, 2 Dec 2004 9:53 PM
Description:
hibernatedoclet doesn't support interfaces and @subclass.
/** @hibernate.class table="FOO" */
public interface Foo
{
// method declaration + doclets
}
/** @hibernate.subclass */
public class FooImpl implements Foo
{
// implementation
}
this should produce:
<hibernate-mapping>
<class name="Foo" table="FOO">
...properties...
<subclass name="FooImpl">
...properties...
</subclass>
</class>
but classes implementing Foo are silently ignored by the hibernate module, so
the <subclass> -element inside the generated mapping file is missing.
---------------------------------------------------------------------
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 email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel