Hi,

is it possible (with JPA or Hibernate) to define a sequence for a JPA-entity's 
attribute that is not the primary key?

All I found so far was the @GeneratedValue annotation. But the JPA Api-Doc says 
that it may only be used in conjunction with @Id ...

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170579#4170579

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170579
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to