Is it possible to use sequence generetors in embedded primary keys?
We want to use:
@Column(name = "nhd_id")
in class with @Embeddable annotation.
The class with @Embeddable annotation contains few columns which are supposed to be a composite key.
I don't know what the spec says about this, but I just made the experience that this is not supported at least for the EJB3 implementation for JBoss 4.2.2.
I'm sure I read about this somewhere in the JBoss' Wiki.