| 
							
					| 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
 
 
 |  |