These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: abstract union-subclass from abstract union-subclass
PostPosted: Tue Oct 11, 2005 7:35 am 
Newbie

Joined: Sat Sep 24, 2005 12:24 pm
Posts: 7
Hi,

I have the following configuration
Code:
<class name="Base" abstract="true">
</class>

<union-subclass name="VersionBase" abstract="true" extends="Base">

    <many-to-one name="nextVersion" class="VersionBase" column="nextversion"/>
    <many-to-one name="prevVersion" class="VersionBase" column="prevversion"/>

  </union-subclass>


The SchemaExportTask generates a table named VersionBase, but I declared it abstract.
Is this correct?

Thanks


Top
 Profile  
 
 Post subject: Solution
PostPosted: Wed Oct 12, 2005 3:29 am 
Newbie

Joined: Sat Sep 24, 2005 12:24 pm
Posts: 7
I have found the solution by myself.
I didn't have a subclass defined for the abstract class.
After I do it the table isn't created.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.