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#4079359

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

Reply via email to