Re: Inserting "null" not working (Sun App Server, Postgres, EJB3)?
| От | Tom Lane |
|---|---|
| Тема | Re: Inserting "null" not working (Sun App Server, Postgres, EJB3)? |
| Дата | |
| Msg-id | 26671.1172794578@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Inserting "null" not working (Sun App Server, Postgres, EJB3)? (Dave Cramer <pg@fastcrypt.com>) |
| Ответы |
Re: Inserting "null" not working (Sun App Server, Postgres, EJB3)?
Re: Inserting "null" not working (Sun App Server, Postgres, EJB3)? |
| Список | pgsql-jdbc |
Dave Cramer <pg@fastcrypt.com> writes:
> On 1-Mar-07, at 7:06 PM, Tom Lane wrote:
>> At least in this particular case, leaving the parameter type as
>> UNKNOWN
>> would have worked as the OP wishes. I dunno if that would break other
>> cases though.
> This means you have to leave all parameter types as UNKNOWN. What's
> the point of having parameter types at all ?
No, only the ones you do not have any knowledge about. The OP's
complaint is basically that the driver is forcing the parameter type
to "varchar" on the basis of nothing whatsoever.
regards, tom lane
В списке pgsql-jdbc по дате отправления: