-->
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: unique constraint violation
PostPosted: Thu Oct 30, 2008 4:47 am 
Newbie

Joined: Thu Oct 30, 2008 4:25 am
Posts: 1
I am getting unique constraint violation - SQL State 2300
This error is comming on saving a record or during a transaction.
This error is occuring very frequently during a day.
IF i stop the server and restart , this problem does not occur for another couple of hours.

Please, can anybody give some solution.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 30, 2008 6:32 am 
Newbie

Joined: Thu Oct 30, 2008 5:13 am
Posts: 2
The unique constraint violation come when you try to insert a duplicate value into a column that has been set as unique.

You may be inserting a duplicate value.


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.