On Mon, 11 Jun 2012, Dean Schulze wrote:
> Out of curiosity why didn't the driver map the Postgresql UUID to a Java
> UUID?
>
The example I gave of calling getString must return a String and not
another type. With a recent JDBC Driver and Java version, calling
getObject will return a UUID o
Thanks.
Out of curiosity why didn't the driver map the Postgresql UUID to a Java
UUID?
On 6/6/12 2:12 AM, "Kris Jurka" wrote:
>
>
>On Tue, 5 Jun 2012, Dean Schulze wrote:
>
>>
>> I'm using Hibernate (3.6 and 4.0) with Postgresql 9.1. Our tables have
>> UUIDs in them and your driver is tryin
On Tue, 5 Jun 2012, Dean Schulze wrote:
>
> I'm using Hibernate (3.6 and 4.0) with Postgresql 9.1. Our tables have
> UUIDs in them and your driver is trying to convert UUIDs to longs:
>
This is a hibernate mapping problem, not a JDBC Driver problem. If you
have a plain ResultSet and call g
I'm using Hibernate (3.6 and 4.0) with Postgresql 9.1. Our tables have UUIDs
in them and your driver is trying to convert UUIDs to longs:
Caused by: org.postgresql.util.PSQLException: Bad value for type long :
dbada1e4-a165-4601-b34e-d08428cd81df
at
org.postgresql.jdbc2.AbstractJdbc2ResultS