You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "David Putnam (JIRA)" <ib...@incubator.apache.org> on 2005/01/03 22:59:50 UTC
[jira] Updated: (IBATIS-39) Unable to store null attributes as null values in a column
[ http://issues.apache.org/jira/browse/IBATIS-39?page=history ]
David Putnam updated IBATIS-39:
-------------------------------
Attachment: program log.txt
Attached is the execution log for my application. I capture and print the object that caused the exception to be thrown. You can see that the attribute deceasedDate is null, it is the only null attribute. If I assign a default value, new Date(0), to this attribute the object is stored without any exception.
> Unable to store null attributes as null values in a column
> ----------------------------------------------------------
>
> Key: IBATIS-39
> URL: http://issues.apache.org/jira/browse/IBATIS-39
> Project: iBatis for Java
> Type: Bug
> Components: SQL Maps
> Versions: 2.0.8
> Environment: Standalone (no appserver) application in Java 1.4.2 connecting to Sybase 12.5 using Sybase JDBC2 drivers (jconn2.jar)
> Reporter: David Putnam
> Priority: Blocker
> Attachments: program log.txt
>
> Any null attribute throws a SQL Exception with an Unsupported JDBC type 0 message. When I get back to the office I will copy actual error message and configuration information into here.
> BTW I created this because I am not sure if there is a better forum for this. Hopefully I am not cluttering this area with a simple configuration problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira