Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
Rob Kirkbride <rob 'at'> 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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group