]
Diego Pires Plentz resolved HHH-2523.
-------------------------------------
Assignee: Diego Pires Plentz
Resolution: Duplicate
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 Pires 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: