I have to keep using 1.2.1 as we have an imminent milestone.

However, I was able to get it working by moving the Hibernate annotations from 
the fields to the accessors.

So, instead of:

  | @Id @GeneratedValue
  | private Long id = null;
  | 

I now have:

  | @Id @GeneratedValue
  | public Long getId() {
  |     return id;
  | }
  | 

Can somebody explain why this works?


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

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

Reply via email to