Larry and Clinton, thank you a lot for the answers. byte[] works, and BigInteger in resultMap works well too.
2007/5/16, Clinton Begin <[EMAIL PROTECTED]>:
Larry's right, probably a byte array. iBATIS does support VARBINARY mapped to byte[]. However, I'd really like to see you try to map it to a BigInteger. A bytearray sucks to work with for obvious reasons. Clinton On 5/16/07, Larry Meadors <[EMAIL PROTECTED]> wrote: > > You might try a byte[], and if that doesn't work, you may need a > custom type handler for them. > > Larry > > > On 5/16/07, Andrey Rogov <[EMAIL PROTECTED] > wrote: > > Excuse my simple question. > > I need to adapt my application for the ready-to-use system with the > MSSQL > > server where > > primary keys are of the binary 16 (guid) type. > > The list of types that support iBitis For Parameters Map and Resul > Maps does > > not contain > > Types.BINARY or Types.VARBINARY. > > Which type shall I install for my set/get primary keys to be able to > work > > with the binary 16 types of MSSQL? >
