Re: More Verbose Logging of Statements

Поиск
Список
Период
Сортировка
От Guillaume Cottenceau
Тема Re: More Verbose Logging of Statements
Дата
Msg-id 87irv0bg3o.fsf@meuh.mnc.ch
обсуждение исходный текст
Ответ на Re: More Verbose Logging of Statements  (Rob Kirkbride <rob@rkcomputing.co.uk>)
Список 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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Getting param names
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Getting param names