Hi Slawek,
Based on the default TypeHandler registered in MyBatis for BLOBs, I
would guess your mapped class would need a byte[] property:
class MyObject {
public byte[] getValue(){}
public void setValue(byte[]){}
}
Cheers,
Benoît
On Mar 3, 10:47 pm, Slawek <
[hidden email]> wrote:
> Hello,
>
> I'm going to read and save binarny files to database via mybatis. I
> was looking but unfotrunely I can't find any examples how to do it. My
> database is sqlserver - but it's not most important.
>
> Best regards
> sw