Re: [Lift] Transactions with Mapper

2010-03-03 Thread Timothy Perrett
Probally worth sticking this on the wiki Cheers, Tim Sent from my iPhone On 2 Mar 2010, at 14:37, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: ced docpom...@googlemail.com writes: When I use Mapper outside a request, say in an actor, how do I wrap it in a transaction? I know that I do a

Re: [Lift] Transactions with Mapper

2010-03-03 Thread David Pollak
On Tue, Mar 2, 2010 at 5:53 AM, Timothy Perrett timo...@getintheloop.euwrote: Probally worth sticking this on the wiki Cheers, Tim Sent from my iPhone Wait... you've got a broken hand and you can still type on your iPhone?!?! :-) On 2 Mar 2010, at 14:37, Jeppe Nejsum Madsen

Re: [Lift] Transactions with Mapper

2010-03-03 Thread Indrajit Raychaudhuri
On 03/03/10 9:58 PM, David Pollak wrote: On Tue, Mar 2, 2010 at 5:53 AM, Timothy Perrett timo...@getintheloop.eu mailto:timo...@getintheloop.eu wrote: Probally worth sticking this on the wiki Cheers, Tim Sent from my iPhone Wait... you've got a broken hand and you can still

Re: [Lift] Transactions with Mapper

2010-03-02 Thread Jeppe Nejsum Madsen
ced docpom...@googlemail.com writes: When I use Mapper outside a request, say in an actor, how do I wrap it in a transaction? I know that I do a S.addAround(DB.buildLoanWrapper) to have transactions within a request. Can anyone provide a simple code snippet? You can use use :-)