[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Forcing bytea for Blobs in Postresql

getaceres do-not-reply at jboss.com
Wed Dec 10 07:12:17 EST 2008

I've done that, this is my code:

  | @Lob
  | protected byte[] content;

However, for that field Toplink assumes that the underlying type is bytea, while Hibernate assumes that it is oid. So basically, every one of them is defaulting to a different way to store a Blob of the two allowed by PostgreSQL.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195577#4195577

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195577

More information about the jboss-user mailing list