Skip site navigation (1) Skip section navigation (2)

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: (view raw or flat)
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 <>
Telefone: (49) 3566 1303

Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group