From: Rafael Felix <felix@serhmatica.com.br>
To: pgsql-jdbc@postgresql.org
Subject: Migration to Hibernate 3.5 final
Date: Fri, 09 Apr 2010 11:37:14 -0300
Message-ID: <4BBF3B9A.9070607@serhmatica.com.br> (raw)
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 <http://www.serhmatica.com.br;
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: felix@serhmatica.com.br
Subject: Re: Migration to Hibernate 3.5 final
In-Reply-To: <4BBF3B9A.9070607@serhmatica.com.br>
References: <4BBF3B9A.9070607@serhmatica.com.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox