"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?