Hi!
I had the same problem. I do not have a solution but a work-around is to overwrite the
getId()-method and put the @Id- and @Generated-annotation there:
| @Entity
| public static class TestEntity extends EntityWithIntId implements Serializable
|
| @Id
| @GeneratedValue
| getId() {
|
| return super.getId();
|
| }
| }
|
Regards
fhh
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987152#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...