I am trying to set up a non-id column in my project that is auto generated, but it
doesn't seem to be working with JBoss. I am posting my code below to show what I am
trying to do. Can anyone tell me how to do this, please?
Thanks,
D
@Id
@SearchableId
@Column(name = "sysId")
private String sysId = UUID.randomUUID().toString();
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "number")
private int number;
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079359#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...