On Wed, Jan 20, 2010 at 5:52 PM, XiaomingZheng <[email protected]>wrote:

> a silly question, S.addAround(BS.buildLoadWrapper) seems to be new in
> lift web application. What's this clouse used for? thanks
>

S.addAround takes a LoanWrapper and applies the LoanWrapper with the body of
the request servicing.

DB.buildLoanWrapper puts a JDBC transaction around the request so that all
database queries will be part of the same transaction and the transaction
will be committed unless the request results in an exception being thrown.


>
> --
> 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]<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.

Reply via email to