-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Aware Action for WebWork2
PostPosted: Sat Nov 22, 2003 12:05 pm 
Newbie

Joined: Sat Nov 22, 2003 11:49 am
Posts: 11
Location: Minneapolis, Minnesota
I've already been able to use the Hibernate Aware Action (HAA) described in the design patterns section. However, in WW2 you can call the methods directly, rather than having to set the command, then calling invokeCommand, as in WW1. The previous HAA overrode the invokeCommand(), then called the super's method just before commiting the transaction. Does anyone have a clean way of mimicing this functionality in a WW2 - HAA?

One idea i have is to replace invokeCommand() with execute(). Any other ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 25, 2003 12:59 am 
Regular
Regular

Joined: Tue Aug 26, 2003 6:59 pm
Posts: 89
Location: Somewhere in the Ghetto
they do this is petsoar (example app from a book written about using open source software such as hibernate xdoclet webwork2, using IOC)


get the source at:

http://www.wiley.com/legacy/compbooks/walnes/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.