[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6800) MySQLDialect missing Types.BINARY mapping, used by UUIDBinaryType

imti (JIRA) noreply at atlassian.com
Tue May 8 05:07:18 EDT 2012


    [ https://hibernate.onjira.com/browse/HHH-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46559#comment-46559 ] 

imti commented on HHH-6800:
---------------------------

i implemented the MySQL5InnoDBDialect class, but still get the same error, do we need to redefine the hibernate dialect property?

> MySQLDialect missing Types.BINARY mapping, used by UUIDBinaryType
> -----------------------------------------------------------------
>
>                 Key: HHH-6800
>                 URL: https://hibernate.onjira.com/browse/HHH-6800
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.8
>            Reporter: Artem Gelun
>
> In 3.6.8 there is no BINARY type mapping.
> Workaround:
> {code}
> public class MySQL5InnoDBBinaryDialect extends MySQL5InnoDBDialect {
> 	public MySQL5InnoDBBinaryDialect() {
> 		registerColumnType( Types.BINARY, "binary($l)" );
> 	}
> }
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list