Migration to Hibernate 3.5 final - Mailing list pgsql-jdbc

From Rafael Felix
Subject Migration to Hibernate 3.5 final
Date
Msg-id 4BBF3B9A.9070607@serhmatica.com.br
Whole thread Raw
Responses Re: Migration to Hibernate 3.5 final  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-jdbc
I´ve an application running in hibernate 3.3.2 and the applications works fine, with all blob fields using oid (byte[] in java),
Migrating to hibernate 3.5 all blob fields not work anymore, and the server log shows

ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: column "preferencia" is of type oid but expression is of type bytea

But I'm cann't change the tables struct for use bytea instead oid, because I lost all data.
How I can solve it? Or How can I migrate de OID field to bytea field.


regards
--
Rafael Guzi Felix da Silva
Desenvolvedor de Sistemas
Serhmatica Sistemas e Serviços de Informática
Telefone: (49) 3566 1303

--
Serhmatica
Visite www.serhmatica.com.br
Esta mensagem foi verificada pelo sistema de antivírus e
acredita-se estar livre de perigo.

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Problem with copyIn(String sql, Reader from)
Next
From: Rafael Felix
Date:
Subject: Migration to Hibernate 3.5 final