Is it possible to use sequence generetors in embedded primary keys?
Example
We want to use:
@Id
@GeneratedValue(strategy=GenerationType.AUTO, generator="NotHeadSeq")
@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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083297#4083297
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083297
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user