-->
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: Validation Failed exception, specific validation not named!
PostPosted: Tue Mar 30, 2010 7:54 pm 
Newbie

Joined: Tue Mar 30, 2010 7:46 pm
Posts: 1
I have a UserEntity class with many properties common to a typical user in a web application. I am attempting to instantiate, populate and persist a new UserEntity object to my database, and I am getting the following exception:

Code:
2010-03-30 16:39:12,865 INFO  [STDOUT] (HDScanner) Hibernate:
    /* insert com.db.model.User
        */ insert
        into
            public.user
            (creation_date, deleted, last_modified_by, last_update, version, email, first_name, gender, last_name, middle_name, enabled, encrypted_password, nbr_failed_logins, last_access, lastIP, lastUserAgent, nbr_sessions, pin, role_type, username, user_id)
        values
            (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
2010-03-30 16:39:12,875 WARN  [com.arjuna.ats.arjuna.logging.arjLoggerI18N] (HDScanner) [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_2] TwoPhaseCoordinator.beforeCompletion - failed for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@4df997bb
javax.persistence.PersistenceException: javax.validation.ConstraintViolationException: validation failed for classes [com.db.model.User] duringpersist time for groups [javax.validation.groups.Default, ]


But there is nothing telling me the specific validation that failed! Is it possible to determine what failed, and if so, how do I go about that?

Thank you.


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.