Migration to Hibernate 3.5 final

Поиск
Список
Период
Сортировка
От Rafael Felix
Тема Migration to Hibernate 3.5 final
Дата
Msg-id 4BBF38F9.3080708@serhmatica.com.br
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Rafael Felix
Дата:
Сообщение: Migration to Hibernate 3.5 final
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Migration to Hibernate 3.5 final