-->
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: Could not synchronize database state with session
PostPosted: Fri Aug 25, 2006 5:06 pm 
Newbie

Joined: Wed Jan 18, 2006 4:17 pm
Posts: 8
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

3.0

Stack Trace :
JDBCException W org.hibernate.util.JDBCExceptionReporter SQL Error: 2290, SQLState: 23000

3f403f4 JDBCException E org.hibernate.util.JDBCExceptionReporter ORA-02290: check constraint (AVCON_1120845229_APPLI_000) violated

[8/25/06 15:45:45:237 CDT] 3f403f4 JDBCException W org.hibernate.util.JDBCExceptionReporter SQL Error: 2290, SQLState: 23000
[8/25/06 15:45:45:252 CDT] 3f403f4 JDBCException E org.hibernate.util.JDBCExceptionReporter ORA-02290: check constraint (AVCON_1120845229_APPLI_000) violated

[8/25/06 15:45:45:268 CDT] 3f403f4 AbstractFlush E org.hibernate.event.def.AbstractFlushingEventListener Could not synchronize database state with session
[8/25/06 15:45:45:487 CDT] 3f403f4 AbstractFlush E org.hibernate.event.def.AbstractFlushingEventListener TRAS0014I: The following exception was logged org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
at java.lang.Throwable.<init>(Throwable.java:59)
at java.lang.Throwable.<init>(Throwable.java:73)
at org.hibernate.exception.NestableRuntimeException.<init>(NestableRuntimeException.java:124)
at org.hibernate.JDBCException.<init>(JDBCException.java:20)
at org.hibernate.JDBCException.<init>(JDBCException.java:25)
at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:181)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)

Name and version of the database you are using:Oracle 10g



Can some one please explain me this phenomena... and help me resolve it.

Thanks,


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 25, 2006 6:19 pm 
Beginner
Beginner

Joined: Tue Aug 08, 2006 11:53 am
Posts: 37
One of the SQL DML statements violated the CHECK constraint (check constraint (AVCON_1120845229_APPLI_000) ). Check the "CHECK" constrains on that table and validate ur data against it.

Pls rate if this anser helped you!


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.