-->
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: Random fired ConstraintViolationException at row insertion?!
PostPosted: Mon Jul 04, 2005 5:15 pm 
Beginner
Beginner

Joined: Mon May 02, 2005 6:17 pm
Posts: 41
Hello

i have made a jsp page that uses a simple hibernate code. its so simple that i doesnt differ from that in documentation. its a basic call to session.save with opening transaction prior to that.
The page shows a form that contains input fields that match those in the db table. Most of the times it works fine. But sometimes for no apparent reason it fires ConstraintViolationException or IdentifierGenerationException. I am certain that i entered id and that row with the given id did not exist prior to that. When i check the db after the exception was fired off the row was inserted. Insertion code is in loop of any kind.
The problem seems to exist in Internet explorer 6.0. I tried it in opera 7.11 and it seems to be working well.
Does anyone know something about it

[/b]


Top
 Profile  
 
 Post subject: Re: Random fired ConstraintViolationException at row insertion?!
PostPosted: Mon Dec 17, 2012 12:11 pm 
Newbie

Joined: Mon Dec 17, 2012 12:05 pm
Posts: 1
Hello there!

I'm currently facing the same problem.
Did anyone manage to fix that problem?


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.