I use almost the same as mazz(a)jboss.com
@Entity
@SequenceGenerator(name = "SEQ_STORE", sequenceName = "name_seq")
....
@Id
@Column
@GeneratedValue(generator = "SEQ_STORE")
public Long getId() {
return id;
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051190#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...