Well, you could manually specify the entity class, eg

  | @Override
  | public Class<Booking> getEntityClass() {
  |    return Booking.class;
  | }
  | 

Or maybe you could do something like

  | ...
  |    getClass.getSuperclass().getGenericSuperclass()
  | ...(then same as in Home.java)
  | 
if you don't want to hardcode it.

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

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

Reply via email to