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.