-->
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: Suggestion to extend discriminator, discriminator-value
PostPosted: Thu Mar 11, 2004 11:42 am 
Beginner
Beginner

Joined: Fri Mar 05, 2004 11:14 am
Posts: 38
Location: Houston, Texas
Here a thought, (maby in your minds ...)

I was looking for a solution to have a subclass with a discriminator value like for example kind='x' or kind='y' . As I can see we can only have 1 descriminator with 1 value.

One solution (the wuick one) whihc be to allow a value for teh discriminator-value like "'x' || 'y'" which will than translate the constrain to a where kind='x' or kind='y'

A more generic approach could be to have regular expressions as values for disrciminator-value to do all kind of fancy stuff on that particular property.

Another addition coul dbe to allow mjultiple discriminators by giving them names.

Ne critic - just a suggestion - he, he - maybye I should get the source of hibernate ...

Thanx
B


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.