[hibernate-issues] [JIRA] (HHH-14021) Using AttributeConverter to Byte fails with "No dialect mapping for JBDC Type: <697960108>"

Leuteris Katiforis (JIRA) jira at hibernate.atlassian.net
Sun May 17 04:49:58 EDT 2020


Leuteris Katiforis ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5b06ac3e27dd77348bacc685 ) *commented* on HHH-14021 ( https://hibernate.atlassian.net/browse/HHH-14021?atlOrigin=eyJpIjoiYWE1MDFmZWNhMzkxNDM4OWIzOTM1ZTFkNTQ2MDQ5ZjAiLCJwIjoiaiJ9 )

Re: Using AttributeConverter to Byte fails with "No dialect mapping for JBDC Type: <697960108>" ( https://hibernate.atlassian.net/browse/HHH-14021?atlOrigin=eyJpIjoiYWE1MDFmZWNhMzkxNDM4OWIzOTM1ZTFkNTQ2MDQ5ZjAiLCJwIjoiaiJ9 )

Thanks for the detailed description @Steven Walters. According to JDBC API Specification (TABLE B-2), the Java type Byte is mapped to JDBC type TINYINT. I 've added the above mapping and the test runs successfully. Please find my PR at: https://github.com/hibernate/hibernate-orm/pull/3404

( https://hibernate.atlassian.net/browse/HHH-14021#add-comment?atlOrigin=eyJpIjoiYWE1MDFmZWNhMzkxNDM4OWIzOTM1ZTFkNTQ2MDQ5ZjAiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-14021#add-comment?atlOrigin=eyJpIjoiYWE1MDFmZWNhMzkxNDM4OWIzOTM1ZTFkNTQ2MDQ5ZjAiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100126- sha1:acdbdcc )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200517/1c7adc0b/attachment.html 


More information about the hibernate-issues mailing list