[hibernate-issues] [JIRA] (HHH-13921) Regression - Hibernate Envers uses Type VARCHAR when type is set to MEDIUMTEXT in audited field

Sergiu Hlihor (JIRA) jira at hibernate.atlassian.net
Wed Apr 1 00:22:20 EDT 2020


Sergiu Hlihor ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A102b1c5a-27e8-4bc3-9606-fabec2511305 ) *created* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMzM4OWRlMDQ3NzVhNDVmMWE4MzVmY2ViY2Q1YjZlZTEiLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HHH-13921?atlOrigin=eyJpIjoiMzM4OWRlMDQ3NzVhNDVmMWE4MzVmY2ViY2Q1YjZlZTEiLCJwIjoiaiJ9 ) HHH-13921 ( https://hibernate.atlassian.net/browse/HHH-13921?atlOrigin=eyJpIjoiMzM4OWRlMDQ3NzVhNDVmMWE4MzVmY2ViY2Q1YjZlZTEiLCJwIjoiaiJ9 ) Regression - Hibernate Envers uses Type VARCHAR when type is set to MEDIUMTEXT in audited field ( https://hibernate.atlassian.net/browse/HHH-13921?atlOrigin=eyJpIjoiMzM4OWRlMDQ3NzVhNDVmMWE4MzVmY2ViY2Q1YjZlZTEiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 5.4.11, 5.4.12, 5.4.13 Assignee: Chris Cranford ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aea49f1db-ef91-4d96-8f3a-a939be8d2b1c ) Components: hibernate-envers Created: 31/Mar/2020 21:22 PM Environment: Ubuntu 18.04, Java 11, MySQL 8.0.19 Priority: Major Reporter: Sergiu Hlihor ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A102b1c5a-27e8-4bc3-9606-fabec2511305 )

I have an entity annotated with @Audited which has the following field

@Column(nullable = false, columnDefinition = "MEDIUMTEXT")
public String text;

In main table, the field is created correctly with type "MEDIUMTEXT" while in audited one, this is "VARCHAR". Last known version working is 5.4.10

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

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#100123- sha1:a8fd8fd )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200401/e60b3626/attachment.html 


More information about the hibernate-issues mailing list