"mustaghattack" wrote : 
  | Of course. But I didn't think it in that way ... You mainly use EntityHome 
with inheritance so instead of :
  | 
  |   | class PersonHome extends EntityHome< Person > {
  |   | ...
  |   | }
  |   | 
  | 
  | have 
  | 
  | 
  |   | class PersonHome extends EntityHome< Person > {
  |   |    public PersonHome() {
  |   |       super( Person.class );
  |   |    }
  |   | 
  | 

Ah, ok, gotcha.  My bad.

However, I don't think you'd need to modify EntityHome to get that kind of 
behavior.  You could do

  | class PersonHome extends EntityHome< Person > {
  |    public PersonHome() {
  |       setEntityClass(Person.class);
  |    }
  | 
right?

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

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

Reply via email to