ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: Caused by: java.sql.SQLException: JZ006: Caught IOException: java.io.IOException: JZ0SL: Unsupported SQL type 0.
Date Thu, 06 Jan 2005 12:52:52 GMT
can you post your mappings?

On Tue, 4 Jan 2005 21:38:45 -0600, David Putnam <dputnam@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.

Mime
View raw message