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 <[email protected]>
wrote:

>
> On Jul 17, 2014, at 5:49 PM, John Huss <[email protected]> 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
>
>

Reply via email to