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

Artem Gelun (JIRA) noreply at atlassian.com
Fri Nov 4 03:28:19 EDT 2011


MySQLDialect missing Types.BINARY mapping, used by UUIDBinaryType
-----------------------------------------------------------------

                 Key: HHH-6800
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6800
             Project: Hibernate Core
          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