Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: The cascade annotation is always working
PostPosted: Fri Jul 19, 2013 9:09 am 
Newbie

Joined: Tue Jun 25, 2013 6:52 am
Posts: 7
i have :
Class A{
String id;

Address adress;
}

Class Address {
@NotEmpty
String street;
}

the problem the sub class validation always fire without add @valid on the super class, how can i disable the subclass @notation validation.

Regards
Wish79


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 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.