Re: architectural question

2008-12-05 Thread Luther Baker
That works just fine when I @Inject a hibernate session directly into a DAO and say, persist an object ... but there's a catch. In my world - a DAO is a very low level, granular thing. I inject DAOs into my PersistenceService which gets invoked from my Management layer and I want the Transaction d

Re: architectural question

2008-12-05 Thread Luther Baker
Thanks - that worked just fine. -Luther On Fri, Dec 5, 2008 at 1:41 PM, James Hillyerd <[EMAIL PROTECTED]> wrote: > Look at the bottom of this page: > > http://tapestry.apache.org/tapestry5/tapestry-hibernate/userguide.html > > It explains how to get @CommitAfter working with DAOs. > > -james >

Re: architectural question

2008-12-05 Thread James Hillyerd
Look at the bottom of this page: http://tapestry.apache.org/tapestry5/tapestry-hibernate/userguide.html It explains how to get @CommitAfter working with DAOs. -james On Fri, Dec 5, 2008 at 10:20 AM, Luther Baker <[EMAIL PROTECTED]> wrote: > If I inject a Hibernate session into my DAO and have