-->
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.  [ 1 post ] 
Author Message
 Post subject: Using Discriminator-value in an unequal comparison
PostPosted: Mon Aug 29, 2005 8:32 am 
Senior
Senior

Joined: Tue Jan 11, 2005 5:03 pm
Posts: 137
Location: Montreal, Quebec
Hi,

is there a way to use the discriminator the inverse way? I mean instead of defining a subclass having a discriminator-value=="1234", having a subclasse when discriminator-value!="12345"?

I have this case where my Acount class have 2 subclasses. The first one is when discriminator-value=="0", and the other case when discriminator-value!="0". I would need somekind of formula, but it dont seems to works.

Is there a way to do this?

Thanks

Etienne


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

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.