Re: Array support
| От | Oliver Jowett |
|---|---|
| Тема | Re: Array support |
| Дата | |
| Msg-id | 42681D28.6060408@opencloud.com обсуждение исходный текст |
| Ответ на | Re: Array support (Kris Jurka <books@ejurka.com>) |
| Ответы |
Re: Array support
|
| Список | pgsql-jdbc |
Kris Jurka wrote: > > On Thu, 21 Apr 2005, Thomas O'Dowd wrote: >>PS. I looked at trying to use PreparedStatement.setArray() but it takes >>an java.sql.Array, which is just an Interface. I guess I could try >>creating a class that implements Array and try passing that to >>setArray() but I'm not even sure if that would work yet either. The >>setObject() way suggested by the spec is definitely simpler. > > > That will work although there are some requirements for getBaseTypeName I > think, it must return the pg specific type name used. More importantly, toString() has to return the data formatted as the server expects.. -O
В списке pgsql-jdbc по дате отправления: