Hi, I posted this in another thread, but it may have been lost in the noise (or no one cared :-)
Anyway, I have S.addAround(DB.buildLoanWrapper) in boot, which I assumed would wrap each request with a transaction and thus use the same connection for the duration of the request? I've added some logging around newConnection/releaseConnection. I was a little surprised to see that newConnection is called three times for each request? Is this intentional? I can see that a connection is also being made even for static files (such as css). This is not really a problem, but it would be nice to defer acquiring a connection until needed....(since I now verify the connection by doing an actual statement on the db server :-) /Jeppe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---