[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6800) MySQLDialect missing Types.BINARY mapping, used by UUIDBinaryType
imti (JIRA)
noreply at atlassian.com
Tue May 8 18:22:11 EDT 2012
[ https://hibernate.onjira.com/browse/HHH-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46573#comment-46573 ]
imti commented on HHH-6800:
---------------------------
Figured out, had to update the dialect in hibernate properties.
> 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