cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malcolm Edgar" <malcolm.ed...@gmail.com>
Subject Re: Hollow Object issue
Date Thu, 17 Apr 2008 10:13:43 GMT
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 <andrus@objectstyle.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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message