Re: 8.2dev-500.jdbc3 driver: PreparedStatement.toString()
| От | Oliver Jowett |
|---|---|
| Тема | Re: 8.2dev-500.jdbc3 driver: PreparedStatement.toString() |
| Дата | |
| Msg-id | 43A74230.8030706@opencloud.com обсуждение исходный текст |
| Ответ на | 8.2dev-500.jdbc3 driver: PreparedStatement.toString() is buggy ("j.random.programmer" <javadesigner@yahoo.com>) |
| Ответы |
Re: 8.2dev-500.jdbc3 driver: PreparedStatement.toString() is buggy
Meta Information about columns of a domain datatype ? |
| Список | pgsql-jdbc |
j.random.programmer wrote: > There seems to be a bug with the 8.2dev-500 > driver, running against a postgres 8.1 database. > > If I have a PreparedStatement, then when I say: > > System.out.println(ps) > > the the prepared statement that is printed is > *missing* single quotes around data/time AND > character/string values. This means that I > cannot copy that preparedstatment and paste > it directly into a psql session etc. I don't think the driver or the spec has ever claimed that toString() gives you a valid SQL statement. -O
В списке pgsql-jdbc по дате отправления: