In fact.... I've found some issues with the new JDBC driver for Informix Database, and some incompatibilities with Hibernate 2.
I'd like to post them, but I'm not sure how to do that. A Jira issue? A simple forum request?
By the way, the problem is this: a boolean-type column is mapped as smallint in Informix (no bit or boolean type in Ifx), a nullable boolean column works fine with Ifx JDBC Driver 2.x
With the new JDBC Driver 3, updating a null value throws an SQL Exception, saying that 'cannot convert from boolean to smallint'.
Guess it's a dialect problem.
Another thing: blob types are not covered by InformixDialect packaged with Hibernate. I extended the Dialect class and put the BLOB type, how can I 'contribute' this in the official Dialect?
Thanks for all your efforts!
Stefano
|