]
Emmanuel Bernard commented on EJBTHREE-508:
-------------------------------------------
Hi
Can you provide a patch + test case?
@GeneratedValue does not work with composite primary key
--------------------------------------------------------
Key: EJBTHREE-508
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-508
Project: EJB 3.0
Issue Type: Bug
Affects Versions: EJB 3.0 RC6 - PFD
Reporter: Holger Johanndeiter
Assignee: Emmanuel Bernard
Attachments: User.java, UserPK.java
I have an entity with a primary key class (@IdClass annotation) where i want the id to be
auto-generated. (see forum post)
That does not happen though, no ids are generated, the only id i get is 0. (leads to one
database entry where the id is 0, after that errors of course).
Database is Hypersonic SQL.
The entity works perfectly fine without @IdClass annotation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: