Re: More Verbose Logging of Statements

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: Rob Kirkbride <rob(at)rkcomputing(dot)co(dot)uk>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: More Verbose Logging of Statements
Date: 2005-11-10 16:52:11
Message-ID: 87irv0bg3o.fsf@meuh.mnc.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Rob Kirkbride <rob 'at' rkcomputing.co.uk> writes:

> OK. Thanks. :-( It's to debug things like where you get constraint
> violation on keys but you don't what the key was. I guess I'd have to
> try and get the client to do it - hibernate - but this tends to print
> $s as well!

If it could be of some help - I use PreparedStatement#toString()
in my code for such things. It has the problem of not quoting the
strings properly but other that that it's cool. Maybe hibernate
has some sort of options for doing this? (I don't use it) (yet)

--
Guillaume Cottenceau

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Kellerer 2005-11-10 17:30:13 Re: getIndexInfo() not returning operator classes
Previous Message Kris Jurka 2005-11-10 16:20:36 Re: Getting param names