On Fri, Nov 6, 2009 at 10:14 PM, oshyshko <[email protected]> wrote:

>
> Looks like "S.addAround(DB.buildLoanWrapper)" has no effect.
>


What code are you using to make the query?

Please create a fully running example (making a GitHub project is the best
way to do this) so that I can see exactly what is happening.


>
>
> 2 Query     SET autocommit=0
> 2 Query     SET autocommit=0
> 2 Query     SELECT accounts.id, accounts.name, accounts.user_c FROM
> accounts WHERE id = 205
> 2 Query     commit
> 2 Query     SET autocommit=0
> 2 Query     SET autocommit=0
> 2 Query     SELECT accounts.id, accounts.name, accounts.user_c FROM
> accounts WHERE id = 206
> 2 Query     commit
> 2 Query     SET autocommit=0
> 2 Query     SET autocommit=0
> 2 Query     SELECT accounts.id, accounts.name, accounts.user_c FROM
> accounts WHERE id = 207
>
>
> Any ideas what can be wrong?
>
>
> class Boot extends Bootable {
>  def boot {
>    DB.defineConnectionManager(DefaultConnectionIdentifier, DBVendor)
>    S.addAround(DB.buildLoanWrapper)
>    ...
>   }
> }
>
> - scala 2.7.6
> - liftweb 1.1-M6
> - MySQL 5.1
>
>
> On Nov 6, 6:19 pm, David Pollak <[email protected]> wrote:
> > If you have the following line in your Boot.scala file:
> >
> >     S.addAround(DB.buildLoanWrapper)
> >
>
> >
>


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