cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: cayenne-crypto
Date Fri, 01 Aug 2014 14:40:16 GMT
Odd. Could you please Jira it with the stack trace?

On Aug 1, 2014, at 10:34 AM, John Huss <johnthuss@gmail.com> wrote:

> It is mapped to byte[].
> 
> VARBINARY + byte[] = ERROR
> VARCHAR + String = OK
> 
> For now I'm just using VARCHAR.
> 
> 
> On Fri, Aug 1, 2014 at 8:16 AM, Andrus Adamchik <andrus@objectstyle.org>
> wrote:
> 
>> 
>> On Jul 17, 2014, at 5:49 PM, John Huss <johnthuss@gmail.com> wrote:
>> 
>>> Also, I'm getting a ClassCastException when using a VARBINARY column in
>>> MySQL 5.6.x mapped to a String.  The value is String in the Map and when
>> it
>>> casts it to a byte[] in BytesToBytesConverter.toBytes() it blows up.  I'm
>>> not sure why it is a String since the column is binary, but it is.
>> 
>> So can you map it as byte[] on the Obj* side?
>> 
>> Andrus
>> 
>> 


Mime
View raw message