Odd. Could you please Jira it with the stack trace? On Aug 1, 2014, at 10:34 AM, John Huss <johnth...@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 <and...@objectstyle.org> > wrote: > >> >> On Jul 17, 2014, at 5:49 PM, John Huss <johnth...@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 >> >>