Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem mapping timestamp [varbinary(8)] to byte[] in java

86 views
Skip to first unread message

prasanna

unread,
Jan 12, 2011, 2:24:43 AM1/12/11
to
HI,

I have problem connecting a varbinary column to the byte array in java
bean. i got the following exception as

java.sql.SQLException: JZ006: Caught IOException: java.io.IOException:
JZ0SM: Unsupported SQL type 1111

I use byte[] in the java bean and in ibatis , it is mapped as
following

<parameter property="timestamp" jdbcType="BINARY" javaType="[B"
mode="IN" />


Can anyone please help me on this issue?

0 new messages