[jboss-user] [JBoss Seam] - Re: Further extending an EntityHome
mustaghattack
do-not-reply at jboss.com
Tue Sep 25 12:26:41 EDT 2007
anonymous wrote :
| Seam instantiates (javabean) components with a no-arg constructor, so this won't help, unless you yourself instantiate an entityHome using "new", which you shouldn't ever be doing.
|
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 );
| }
| ...
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088513#4088513
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088513
More information about the jboss-user
mailing list