Thanks for the suggestions. I'm going to be quick and say I didn't write this code as I would not have duplicated the getBytes call in the original source. Anyway, I wrote my own custom type handler and it all works just super.
Niels Beekman-2 wrote: > > Hi, > > I don't believe there is a way to map directly to byte[]. IMHO, byte > arrays should not be used as properties. Maybe you could create a custom > typehandler that maps the byte[] to String. > > If I may do another suggestion: avoid doing rs.getBytes() multiple times > for the same column, you'd better do the following: > > -- View this message in context: http://www.nabble.com/How-to-map-getBytes-in-iBATIS--tf3717367.html#a10433344 Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
