-->
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: discriminator-value mit mehreren Werten
PostPosted: Thu Jul 03, 2008 5:40 am 
Newbie

Joined: Tue Jul 01, 2008 4:26 am
Posts: 3
Hallo zusammen,

ist es im MappingFile eigentlich möglich auch mehrere "discriminator-value" anzugeben:

Code:
<subclass name="SubtestClass, Common.Domain" discriminator-value="8"
</subclass>


Ich möchte zum Beispiel nicht nur eine SubtestClass wenn der Wert 8 ist, sonder auch bei 1, 2 und 3.

Grüße
Stephan


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 03, 2008 6:05 am 
Expert
Expert

Joined: Thu Jul 05, 2007 9:38 am
Posts: 287
Schau dir mal 'discriminator formula' an. Ich hab es nie benutzt, aber ich denke für solche Fälle ist es einsetzbar.

_________________
Please rate useful posts.


Schauderhaft: Softwaredevelopment, Projectmanagement, Qualitymanagement and all things "schauderhaft"


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.