Re: Interceptor attempt

2010-11-11 Thread Marcus Bond
t versions of the frameworks. I've tried a couple with limited success. -David -Original Message- From: Marcus Bond [mailto:mar...@marcusbond.me.uk] Sent: Thursday, November 11, 2010 11:01 AM To: user@struts.apache.org Subject: Re: Interceptor attempt Sorry to jump the thread Dav

RE: Interceptor attempt

2010-11-11 Thread Altenhof, David Aron
;ve tried a couple with limited success. -David -Original Message- From: Marcus Bond [mailto:mar...@marcusbond.me.uk] Sent: Thursday, November 11, 2010 11:01 AM To: user@struts.apache.org Subject: Re: Interceptor attempt Sorry to jump the thread David.. Looks like the ThreadLocal (unique

Re: Interceptor attempt

2010-11-11 Thread Marcus Bond
tSession().getTransaction().commit(); to commit it from anywhere in your app? Thanks, David -Original Message- From: Greg Lindholm [mailto:greg.lindh...@gmail.com] Sent: Wednesday, November 10, 2010 5:15 PM To: Struts Users Mailing List Subject: Re: Interceptor attempt (Sorry - prematur

Re: Interceptor attempt

2010-11-11 Thread Dave Newton
On Thu, Nov 11, 2010 at 9:44 AM, Martin Gainty wrote: > i would strongly advise against issuing a commit until your app knows your DML > has successfully completed committing the transaction before DML has > completed will > put in the line of fire from the DBA "Don't issue a commit until DML ha

RE: Interceptor attempt

2010-11-11 Thread Martin Gainty
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: dalte...@iupui.edu > To: user@struts.apache.org >

RE: Interceptor attempt

2010-11-11 Thread Altenhof, David Aron
Sent: Wednesday, November 10, 2010 5:15 PM To: Struts Users Mailing List Subject: Re: Interceptor attempt (Sorry - premature post) Hi David, I've written a couple of these so let me give you some advice: Create an Interface "HibernateAware" that your actions will implement if th

Re: Interceptor attempt

2010-11-10 Thread Greg Lindholm
(Sorry - premature post) Hi David, I've written a couple of these so let me give you some advice: Create an Interface "HibernateAware" that your actions will implement if they want a Hibernate Session and Transaction injected. public interface HibernateAware { void setSession(Session session);

Re: Interceptor attempt

2010-11-10 Thread Greg Lindholm
Hi David, I've written a couple of these so let me give you some advice: Create an Interface "HibernateAware" that your actions will implement if they want a Hibernate Session and Transaction injected. public interface HibernateAware { } On Wed, Nov 10, 2010 at 3:45 PM, Altenhof, David Aron w