I've a application runing in glassfish v2, JPA and Hibernate 3.3.2, all blob field are the OID type in the postgresql 8.4 database...
Now the migration to glassfish v3, JPA and Hibernate 3.5 final raises an error in all the OID fileds such as
Code:
org.hibernate.util.JDBCExceptionReporter - ERROR: column "preferencia" is of type oid but expression is of type bytea
in the database the change of the type of the oid to bytea not works, and I'm cann't lost this blob data, how to configure the hibernate to accepts the oid field again?
PS: I'm using JPA, persistence.xml :)
Thanks for all
regards.