-->
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.  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Thanks for suggestion...
PostPosted: Tue Jun 12, 2007 9:01 am 
Newbie

Joined: Tue Jun 12, 2007 8:57 am
Posts: 1
I had the same problem and that fixed it.

Can someone update the online documentation?

thanks


Top
 Profile  
 
 Post subject: discriminator-value="not null"
PostPosted: Thu Apr 02, 2009 3:10 am 
Newbie

Joined: Thu Apr 02, 2009 2:33 am
Posts: 2
Hi,

the answer might come in late, but I had the same problem.
Found a chinese post that suggested this solution:
<class name="xyz.AbstractClass" table="TABLE_NAME" discriminator-value="not null">

instead of your suggestion for -1
and it works for me.

they also had the discriminator column set to:
<discriminator column="type" not-null="true" type="integer"/>

Regards

Sabne


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

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.