[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2523?page=c...
]
Marko Strukelj commented on HHH-2523:
-------------------------------------
Can someone please apply this patch - and add this as well:
registerColumnType( Types.CLOB, "clob" );
It's a hassle - I know from experience :) - for everyone out there who needs clobs
and uses informix to have to do this everytime a new hibernate version comes out.
Thanks.
informix 10 BLOB type
---------------------
Key: HHH-2523
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2523
Project: Hibernate3
Issue Type: Bug
Components: core
Affects Versions: 3.2.1
Environment: Hibernate 3.2.1
Informix Dynamic Server 10.00.FC5W4
IBM Informix JDBC Driver for IBM Informix Dynamic Server 3.00.JC2
Reporter: Nick Airey
Assignee: Diego Plentz
Priority: Minor
Attachments: Informix10Dialect.java
Original Estimate: 15 minutes
Remaining Estimate: 15 minutes
Informix 10.0 and driver 3.0 supports the BLOB type, however the hibernate dialect file
does not have this type registered.
Options for fixing would be to modify the existing InformixDialect, or (better) extend to
a new class as per code snippet below, which is working fine for me.
package additional.hibernate;
import java.sql.Types;
import org.hibernate.dialect.InformixDialect;
/**
* @author Nick Airey
*/
public class Informix10Dialect extends InformixDialect {
public Informix10Dialect() {
super();
// register support for BLOB type in informix 10
registerColumnType( Types.BLOB, "blob" );
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira