Re: Hollow Object issue

From: Malcolm Edgar (malcolm.edga..mail.com)
Date: Thu Apr 17 2008 - 06:13:43 EDT

  • Next message: Andrus Adamchik: "Re: Hollow Object issue"

    Hi Andrus,

    the column is a MySQL 5.0 BIGINT, I have tried changing this to an INTEGER
    and I still had the same problem.

    regards Malcolm Edgar

    On Thu, Apr 17, 2008 at 8:08 PM, Andrus Adamchik <andru..bjectstyle.org>
    wrote:

    >
    > On Apr 17, 2008, at 12:48 PM, Malcolm Edgar wrote:
    >
    > Caused by: java.sql.SQLException: Cannot convert class [B to SQL type
    > > > requested due to java.lang.ClassCastException - [B
    > > > at
    > > > com.mysql.jdbc.PreparedStatement.setObject(PreparedStatement.java:2744)
    > > >
    > >
    > So I assume that "schema_config_oid" is a PostgreSQL oid column? How is it
    > mapped in Cayenne - VARBINARY or something else?
    >
    > Andrus
    >



    This archive was generated by hypermail 2.0.0 : Thu Apr 17 2008 - 06:14:13 EDT