| От | Dave Cramer |
|---|---|
| Тема | Re: server-side prepared |
| Дата | |
| Msg-id | 1042054261.1016.97.camel@inspiron.cramers обсуждение исходный текст |
| Ответ на | server-side prepared (Felipe Schnack <felipes@ritterdosreis.br>) |
| Список | pgsql-jdbc |
Felipe,
You, need the new code.
Dave
On Wed, 2003-01-08 at 13:34, Felipe Schnack wrote:
> I just can't use server-side prepared statements
> Here is a snippet of my sources, note that the column I'm inserting is
> of "bigint" data type
> PreparedStatement prep = Connection.prepareStatement("insert into
> tablename values (?)");
> prep.setNull(1, Types.BIGINT);
> prep.executeUpdate();
> For some strange reasons when I execute that I get the following
> error: "Column 'cpf' is of type BIGINT, but expression is of type text"
> Well, I specified the BIGINT type correctly, What can I do?
>
>
--
Dave Cramer <Dave@micro-automation.net>
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера