-->
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: Duplicate when insert
PostPosted: Fri May 14, 2004 4:18 am 
Newbie

Joined: Mon Oct 20, 2003 8:18 am
Posts: 3
Is it hibernate stable (2.1.3) (With OSCache)?

I have a little project that only manage one table but it is used by a lot of users (More than 1000 users).

The project will browse a row in table, then submit. During submit, application will delete that row and then insert one with new data.

In some time, hibernate reported duplicate key when insert. It isn't allways happens but it happens many times.

It isn't because delete and insert, if I use saveAndUpdate, more error (Duplicate) occured.

Is it a way to overcome? Or because of OSCACHE?

Danny Chen


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.