[hibernate-issues] [JIRA] (HHH-11415) AttributeConverter: Only convert if the value is of the Java type (and not already of the database type).

Tyler Cook (JIRA) jira at hibernate.atlassian.net
Mon Apr 6 19:29:17 EDT 2020


Tyler Cook ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5e8bba00f393c80b7c64c88c ) *commented* on HHH-11415 ( https://hibernate.atlassian.net/browse/HHH-11415?atlOrigin=eyJpIjoiNTUzNDY3NDlkNGI3NDBiY2E0MGEwNmRiNjExZmNmZjAiLCJwIjoiaiJ9 )

Re: AttributeConverter: Only convert if the value is of the Java type (and not already of the database type). ( https://hibernate.atlassian.net/browse/HHH-11415?atlOrigin=eyJpIjoiNTUzNDY3NDlkNGI3NDBiY2E0MGEwNmRiNjExZmNmZjAiLCJwIjoiaiJ9 )

@Marcelo

That won't work because the input and output types can be identical.

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

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#100124- sha1:c7667cc )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200406/19c404c4/attachment.html 


More information about the hibernate-issues mailing list