I have found the problem.

This is what I have in web.xml:
    <filter-mapping>
        <filter-name>LiftFilter</filter-name>
        <url-pattern>*.html</url-pattern>
    </filter-mapping>

By default it should be like this:

    <filter-mapping>
        <filter-name>LiftFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

"S.addAround(DB.buildLoanWrapper)" does work, if the request path is
covered by LiftFilter.
And it does not work, if not covered (my case) -- in this case it will
create separate transactions.

So its okay.


Now I see thatreal problem is because I use BlazeDS servet which
should not be covered by LiftFilter. I wrote about it:
http://groups.google.com/group/liftweb/browse_thread/thread/33a4d1d111f54ef0/ea4c08393ce76c1d
Looks like the old problem has reappeared in a new place.


On Nov 7, 5:10 pm, David Pollak <[email protected]> wrote:
> 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.

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