[hibernate-issues] [Hibernate-JIRA] Created: (EJB-411) Composite Key with Sequence
Frederico (JIRA)
noreply at atlassian.com
Tue Jan 27 13:23:38 EST 2009
Composite Key with Sequence
---------------------------
Key: EJB-411
URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-411
Project: Hibernate Entity Manager
Issue Type: Bug
Components: EntityManager
Affects Versions: 3.4.0.CR1
Environment: EntityManager Package 3.4, Postgresql 8.3, JSF 1.2, EJB 3.0 and Glassfish V2R2
Reporter: Frederico
Attachments: entitys.zip
I created a entity with a composite key, and one of attributes is a sequence. The problem is when I try to save the entity, the sequence attribute is not generated, and a not-null contraint is raised. The log shows to the hibernate is working with generator like assign, but, when I to remove the composite key and I change the primary key only to the sequence attribute, he works fine.
Fred
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list