-->
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: Hibernate Annotations:Constraints across multipleproperties?
PostPosted: Thu Aug 17, 2006 1:51 am 
Newbie

Joined: Thu Aug 17, 2006 1:40 am
Posts: 2
I'm developing a system using Hibernate with Annotations, and while I've seen plenty of doco about Validator Constraints, as far as I can tell there is none on validating across multiple properties.

For instance, I have a Class with a highBoundary Double, and a lowBoundary Double. While both are nullable in and of themselves, I want to specify that they can't BOTH be null. Is there any way of doing this with Hibernate Annotations?

Thanks in advance,
--Alan


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.