These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate 3.5 Final and Postgresql OID error
PostPosted: Fri Apr 09, 2010 8:13 am 
Newbie

Joined: Wed Apr 08, 2009 9:08 am
Posts: 1
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.

_________________
regards
Rafael Felix

http://rollingwithcode.blogspot.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.