Had to add a line to the suggested code otherwise a NPE was thrown on persist: 
@Override
  | public Class<Booking> getEntityClass() {
  |    super.setEntityClass(Booking.class);
  |    return Booking.class;
  | }
Cheers,

Damian.


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

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

Reply via email to