BUG #8389: JDBC Driver assumes first column to be an integer
В списке pgsql-bugs по дате отправления:
| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера