On 03/03/10 9:58 PM, David Pollak wrote:


On Tue, Mar 2, 2010 at 5:53 AM, Timothy Perrett <[email protected]
<mailto:[email protected]>> 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 type on your
iPhone?!?! :-)

Guess Tim types one handed and he is not a lefty :-)




    On 2 Mar 2010, at 14:37, Jeppe Nejsum Madsen <[email protected]
    <mailto:[email protected]>> wrote:

        ced <[email protected] <mailto:[email protected]>>
        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 :-)

        DB.use(DefaultConnectionIdenfifier) {connection =>
          User.findAll ....
        }

        /Jeppe

        --
        You received this message because you are subscribed to the
        Google Groups "Lift" group.
        To post to this group, send email to [email protected]
        <mailto:[email protected]>.
        To unsubscribe from this group, send email to
        [email protected]
        <mailto:liftweb%[email protected]>.
        For more options, visit this group at
        http://groups.google.com/group/liftweb?hl=en.



    --
    You received this message because you are subscribed to the Google
    Groups "Lift" group.
    To post to this group, send email to [email protected]
    <mailto:[email protected]>.
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:liftweb%[email protected]>.
    For more options, visit this group at
    http://groups.google.com/group/liftweb?hl=en.




--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--
You received this message because you are subscribed to the Google
Groups "Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to