You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Ramon Cano Granizo <rc...@logic-factory.com> on 2003/10/28 09:17:41 UTC
Problem with Blob in Postgre
Hello,
We are using ojb-rc4 in our project and everything goes right until we need mapping a BLOB type in PostgreSQL, the problem comes when ojb is trying insert a record in the database, it throws a SQLException.
What is the correct type in the repository_user.xml, it doesn't look like
<field-descriptor
name="content"
column="image"
jdbc-type="BLOB"
/>
and the JavaBean field's type is byte[] ?
Thanks