| Summary: | Generating invoice in Sportsclub example throws exception | ||
|---|---|---|---|
| Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Tomas Repel <trepel> |
| Component: | Spring, Examples | Assignee: | Marius Bogoevici <mariusb> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Tomas Repel <trepel> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.0.0.ER3 | CC: | kpiwko, rruss |
| Target Milestone: | --- | ||
| Target Release: | 2.0.0.ER8 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | sportsclub | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-22 11:10:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tomas Repel
2012-03-15 13:23:16 UTC
I think these "primary key violation" errors are caused by hibernate_sequence, that starts with 1. The database is pre-filled with some content (see import.sql), thus when application tries to save something to table that has some data already, hibernate_sequence next value for primary key can collide with this data. Verified in ER8. These example related issues are fixed in WFK 2.0.0. Documenting them as fixed issues is not required. |