Re: [appfuse-user] Transactions and Errors

2008-03-17 Thread Jonathan Ritchie
That helps. :) Thanks very much. Jonathan On 17/03/2008, Matt Raible <[EMAIL PROTECTED]> wrote: > > On Mar 17, 2008, at 6:16 AM, Jonathan Ritchie wrote: > > > Lets suppose that my application is creating a new "Folder" object in > > a database and then adding some permission objects for some

Re: [appfuse-user] Transactions and Errors

2008-03-17 Thread Matt Raible
On Mar 17, 2008, at 6:16 AM, Jonathan Ritchie wrote: Lets suppose that my application is creating a new "Folder" object in a database and then adding some permission objects for some users. The controller at the moment looks something like this in vague pseudo code. String folderName = get

Re: [appfuse-user] Transactions and Errors

2008-03-17 Thread Jonathan Ritchie
Lets suppose that my application is creating a new "Folder" object in a database and then adding some permission objects for some users. The controller at the moment looks something like this in vague pseudo code. String folderName = getFolderName(); Folder folder = getFolderService().createFolde

Re: [appfuse-user] Transactions and Errors

2008-03-14 Thread Flavio Froes
transactions are usually works on the service level (Managers). spring should manage your transactions. configure it on your applicationContext.xml if it is not already configures... HTH, Flávio Oliva On Fri, Mar 14, 2008 at 5:00 PM, Jonathan Ritchie <[EMAIL PROTECTED]> wrote: > Hello > > I hav

[appfuse-user] Transactions and Errors

2008-03-14 Thread Jonathan Ritchie
Hello I have built a large chunk of a webapp using appfuse2. Its been great, thanks for the work on the skeleton. I have a couple of questions however. I am using a Spring MVC Basic archetype and am not sure how transcationality is supported in hibernate and/or appfuse. Basically at the most si