You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Larry Meadors <la...@gmail.com> on 2005/01/06 13:52:52 UTC

Re: Caused by: java.sql.SQLException: JZ006: Caught IOException: java.io.IOException: JZ0SL: Unsupported SQL type 0.

can you post your mappings?

On Tue, 4 Jan 2005 21:38:45 -0600, David Putnam <dp...@wellsfargo.com> wrote:
> When I am in the BasicParameterMap.setParameter method, the mapping has a
> jdbcType of 0 or Types.NULL, rather than a value of Types.DATE (91). Also
> because the DateTypeHandler does not extend CustomTypeHandler, the code
> explicitly calls ps.setNull.  It passes the jdbcType of 0 because it also
> does not match the JdbcTypeRegistry.UNKNOWN (-99999999) value.  It did not
> appear that any of the mapping objects had jdbcType or TypeName values, and
> it may be only the null attributes that care.