BUG #8389: JDBC Driver assumes first column to be an integer

Поиск
Список
Период
Сортировка
От ivan.pli@solidit.cl
Тема BUG #8389: JDBC Driver assumes first column to be an integer
Дата
Msg-id E1VBa9T-0004Wt-AG@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #8389: JDBC Driver assumes first column to be an integer  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8389
Logged by:          Ivan Pliouchtchai
Email address:      ivan.pli@solidit.cl
PostgreSQL version: 9.2.4
Operating system:   Windows 7
Description:

PRECONDITION:
When having a table with the next columns:
content varchar(10)
idcontent int primary key


ACTION:
Persisting a row using the JDBC driver (I used JBoss and hibernate to
persist a bean)




RESULT:
The JDBC driver throws an exception while trying to parse the first column
content (a string) as an integer.


Anyway the content gets saved to the database.


TEMPORARY SOLUTION:
Recreating the table with the integer key column as the first column solved
the problem.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG 5199:ERROR: cannot override frame clause of window xx
Следующее
От: nitishsaurabh
Дата:
Сообщение: Re: BUG #8387: Error while make of the source code