postgres « JDBC « JPA Q&A





1. UUID / Postgres / Hibernate 3.6.3.Final / jdbc 9.0-801.jdbc4    forum.hibernate.org

Caused by: java.sql.BatchUpdateException: Batch-Eintrag 0 insert into ClassToPersist (name, vorname, uuid) values ('jkfdhjks', NULL, '') wurde abgebrochen. Rufen Sie 'getNextException' auf, um die Ursache zu erfahren. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2598) at org.postgresql.core.v3.QueryExecutorImpl$1.handleError(QueryExecutorImpl.java:459) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2737) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) ...

2. unknown types value with postgres 8.0 jdbc driver    forum.hibernate.org

hibernate 2 and 3 both fail with the postgreSQL 8.0 jdbc drivers in the following way: Whenever an attempt is made to insert something into the database with a null column (of apparently any type, bigint in my case), the psql 8.0 driver fails with an "Unknown types value" error. Searching other mailing lists reveals that this is due to a ...