[jboss-user] [JBoss Seam] - EntityHome question
emsa
do-not-reply at jboss.com
Mon Apr 23 04:32:27 EDT 2007
Hi,
I'm trying to "veto" an update in MyHome by overriding the update() method like this:
| public String update() {
| if(!valid()) {
| return null;
| }
| return super.update();
| }
|
My problem here is that the "UPDATE" request to the database is issued even if ''super.update()'' never is called.
Is there anyway to stop the "UPDATE" from being issued or do I have to solve this by not using the Home infrastructure ?
/Magnus
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039744#4039744
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039744
More information about the jboss-user
mailing list