| Anonymous | Login | Signup for a new account | 11-10-2025 01:11 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001702 | [Resin] | major | always | 04-23-07 19:12 | 05-01-07 09:08 | ||||
| Reporter | westrupp | View Status | public | ||||||
| Assigned To | westrupp | ||||||||
| Priority | high | Resolution | fixed | ||||||
| Status | closed | Product Version | 3.1.0 | ||||||
| Summary | 0001702: @GeneratedValue with MS SQLServer is not working | ||||||||
| Description |
Even setting the IDENTITY_INSERT to ON: SET IDENTITY_INSERT ON; the following exception is thrown: javax.persistence.EntityExistsException: Trying to persist an entity of class 'test.TestBean' with PK '0' that already exists. Entity state 'TRANSIENT' A possible workaround would be to use a trigger to set the new id value. |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |