[jboss-user] [JBoss Seam] - Re: Injecting properties using CRUD framework
bulloncito
do-not-reply at jboss.com
Wed May 16 18:06:40 EDT 2007
... you can use Inheritance Aproach, extending EntityHome and overriding update method.
... documentation states:
We can define a personHome component either via configuration:
<framework:entity-home name="personHome" entity-class="eg.Person" />
Or via extension:
@Name("personHome")
| public class PersonHome extends EntityHome<Person> {}
there you can
@Override
| public String update() {
| setId() ;
| setLastUpdatedBy( someone ) ;
| return super.update() ;
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046315#4046315
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046315
More information about the jboss-user
mailing list