| Anonymous | Login | Signup for a new account | 11-10-2025 02:29 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.1.1 | Product Version | 3.1.0 | ||||
| Product Build | |||||||||
| 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. |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |