[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2523) informix 10 BLOB type

Diego Pires Plentz (JIRA) noreply at atlassian.com
Wed Aug 15 13:46:13 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list