Re: ibatis - Sybase String problem

2009-03-27 Thread ilkayaktas
Thx my friend, it worked. Brian Bruns wrote: You need to explicitly give it the type, so if AD was an int: INSERT INTO HEDEF_TANIMLARI (OID, VERSION, AD) VALUES (#oid#, #version#, #ad:INT#) I've not seen Sybase require this, but DB2 needs the type for

Re: ibatis - Sybase String problem

2009-03-17 Thread Brian Bruns
You need to explicitly give it the type, so if AD was an int: INSERT INTO HEDEF_TANIMLARI (OID, VERSION, AD) VALUES (#oid#, #version#, #ad:INT#) I've not seen Sybase require this, but DB2 needs the type for null values. In general it's a good idea for

Re: ibatis - Sybase String problem

2009-03-17 Thread Clinton Begin
All JDBC drivers require the type to be specified, as it's part of the spec... INSERT INTO HEDEF_TANIMLARI (OID, VERSION, AD) VALUES (#oid#, #version#, #ad:*VARCHAR*#) On Tue, Mar 17, 2009 at 6:55 AM, Brian Bruns brian.br...@gmail.com wrote: You need to

Re: ibatis - Sybase String problem

2009-03-17 Thread Larry Meadors
Well, All JDBC drivers *should* require the type to be specified... :-) Larry On Tue, Mar 17, 2009 at 10:28 AM, Clinton Begin clinton.be...@gmail.com wrote: All JDBC drivers require the type to be specified, as it's part of the spec...