Migration to Hibernate 3.5 final

From: Rafael Felix <felix(at)serhmatica(dot)com(dot)br>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Migration to Hibernate 3.5 final
Date: 2010-04-09 14:26:01
Message-ID: 4BBF38F9.3080708@serhmatica.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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.

*Rafael Guzi Felix da Silva*
*Desenvolvedor de Sistemas*
Serhmatica Sistemas e Serviços de Informática <http://www.serhmatica.com.br>
Telefone: (49) 3566 1303

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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Rafael Felix 2010-04-09 14:37:14 Migration to Hibernate 3.5 final
Previous Message Kris Jurka 2010-04-08 16:18:39 Re: Problem with copyIn(String sql, Reader from)