[jboss-user] [JBoss Seam] - Re: Further extending an EntityHome
matt.drees
do-not-reply at jboss.com
Sat Sep 22 19:17:22 EDT 2007
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
More information about the jboss-user
mailing list