Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-03-2008, 12:03 AM
Member
 
Join Date: Sep 2008
Posts: 1
mc1392 is on a distinguished road
Hibernate Duplicate Entry problem
All,

for the longest time, I have used hibernate saveOrUpdate.
Today, I see that updating a row is causing problems :

'Duplicate entry".

In the past, my saveOrUpdate skipped over the fact the current object has the same key.

So I guess, how do I force update on duplicate using hibernate?
Why has my saveOrUpdate stopped working?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in hibernate need help! jrgahan Advanced Java 0 05-22-2008 11:00 AM
ZipOutputStream "duplicate entry" new_2_java New To Java 0 02-14-2008 06:28 PM
How to prevent duplicate username entry in database? anki1234 JavaServer Pages (JSP) and JSTL 4 01-09-2008 10:02 AM
Duplicate entry in registration form!!! anki1234 Advanced Java 1 01-04-2008 10:15 PM
org.hibernate.DuplicateMappingException: Duplicate class/entity mapping project Ed Database 2 07-04-2007 07:17 AM


All times are GMT +3. The time now is 10:03 AM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org