Re: jdbc driver: Support for 'BOOL'
| От | Joseph Shraibman |
|---|---|
| Тема | Re: jdbc driver: Support for 'BOOL' |
| Дата | |
| Msg-id | 3A635540.E420BD96@selectacast.net обсуждение исходный текст |
| Ответ на | jdbc driver: Support for 'BOOL' ("José Antonio Matute Calvo" <cmaj@encomix.es>) |
| Ответы |
Re: jdbc driver: Support for 'BOOL'
Re: jdbc driver: Support for 'BOOL' |
| Список | pgsql-interfaces |
"José Antonio Matute Calvo" wrote: > > Problem: > If try to use field of type "java.sql.Types.BIT" obtains error "Unknown > Types Value" > > Resolution: > > Add this: > > PreparedStatement.java > 460,461d459 > < case Types.BIT: > < set(parameterIndex, > ((Boolean)x).booleanValue() ? "true" : "false"); Why not set(parameterIndex,x.toString())? -- Joseph Shraibman jks@selectacast.net Increase signal to noise ratio. http://www.targabot.com
В списке pgsql-interfaces по дате отправления: