Sergiu Hlihor (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNTM1NmNjYjg0...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-14147?atlOrigin=eyJpIjoiNTM1Nm...
) HHH-14147 (
https://hibernate.atlassian.net/browse/HHH-14147?atlOrigin=eyJpIjoiNTM1Nm...
) Entities containing field "rank" cannot be updated (
https://hibernate.atlassian.net/browse/HHH-14147?atlOrigin=eyJpIjoiNTM1Nm...
)
Change By: Sergiu Hlihor (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
I have a an entity containing a field called “rank“ . This worked perfectly fine with
MySQL 5.6. Now in MySQL 8, since this is a keyword, it fails to update the field.
Tested configurations were:
<property name="hibernate.dialect"
value="org.hibernate.dialect.MySQLInnoDBDialect" />
<property name="hibernate.dialect"
value="org.hibernate.dialect.MySQL8Dialect" />
or no dialect whatsoever.
Database is MySQL 8.0.20, Percona flavor + HikariCP
Would have expected that by choosing the correct dialect, the fields are escaped
automatically.
(
https://hibernate.atlassian.net/browse/HHH-14147#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-14147#add-comment?atlOrigin=ey...
)
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....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100142- sha1:98e8dd4 )