... 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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user