Will do.

On Tue, Aug 11, 2009 at 2:33 AM, marius d. <[email protected]> wrote:

>
> Please do so. If you need any help for some reason (time availability
> etc.) please let me know. As a note probably the wrappers should be
> only only when there is at least one log function registered.
>
> Br's,
> Marius
>
> On Aug 6, 11:48 pm, Derek Chen-Becker <[email protected]> wrote:
> > If there's a consensus that we want our own JDBC wrappers I'll go ahead
> and
> > write them.
> >
> > Derek
> >
> > On Thu, Aug 6, 2009 at 1:19 PM, marius d. <[email protected]>
> wrote:
> >
> > > Probably building our own wrappers would be more lightweight then 3-rd
> > > party. Jus' guessing
> >
> > > Br's,
> > > Marius
> >
> > > On Aug 6, 9:58 pm, Derek Chen-Becker <[email protected]> wrote:
> > > > Well, I started looking at it and determined that the only way for us
> to
> > > > truly log the queries would be to essentially make our own wrappers
> over
> > > > Statement and PreparedStatement. There are projects (log4jdbc,
> notably)
> > > that
> > > > already do this, and in a transparent manner. I'm not sure that
> adding a
> > > > whole bunch of SQL logging directly to Lift is better than leveraging
> > > some
> > > > existing libraries to do it.
> >
> > > > Derek
> >
> > > > On Thu, Aug 6, 2009 at 11:03 AM, marius d. <[email protected]>
> > > wrote:
> >
> > > > > Yeah we're aware of that. That is based on toString application
> which
> > > > > is JDBC driver dependent. I think Derek started some work on this
> to
> > > > > correct this behavior. Derek ?
> >
> > > > > Br's,
> > > > > Marius
> >
> > > > > On Aug 6, 8:01 pm, jon <[email protected]> wrote:
> > > > > > Hi,
> >
> > > > > > I have the following in boot:
> > > > > >   DB.addLogFunc((query, len) => Log.info("The query: "+query+"
> took
> > > > > > "+len+" milliseconds"))
> >
> > > > > > I was expecting the query parameter to be sql, but it's actually
> some
> > > > > > sort of guid
> >
> > > > > > "INFO - The query: 6839c016-0122-f09a-9c96-0000003844e8 took 5
> > > > > > milliseconds"
> >
> > > > > > Any ideas?
> > > > > > I'm running with derby.
> >
> > > > > > Thanks,
> >
> > > > > > Jon
> >
>

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