From: <leg...@at...> - 2003-10-12 17:22:20
|
Message: The following issue has been closed. Resolver: Gavin King Date: Sun, 12 Oct 2003 12:20 PM This is a FAQ. Please read the documentation. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-388 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-388 Summary: composite id with saveOrUpdate not updating, duplicate key Type: Bug Status: Closed Priority: Minor Resolution: REJECTED Project: Hibernate2 Components: core Versions: 2.0 final Assignee: Reporter: Michael Lowe Created: Wed, 8 Oct 2003 1:28 PM Updated: Sun, 12 Oct 2003 12:20 PM Environment: sql200 Description: I attempt to update a row with a composite id using saveOrUpdate and get "Violation of PRIMARY KEY constraint: Cannot insert duplicate key in object." If I change the method to update, it works fine, unless, of course I try to insert, then save works. I tried all combinations of unsaved-value, to no avail. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |