HHH-14176 Use column name 'description' rather than 'desc`.

Using the `desc` keyword creates problems for certain dialects, so changed the
property's name so that there is no keyword conflicts.
This commit is contained in:
Chris Cranford 2023-07-21 17:20:41 -04:00 committed by Christian Beikov
parent 940259dc4c
commit 03d5ce08bc
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
*/ */
package org.hibernate.envers.test.integration.manytoone.lazy; package org.hibernate.envers.test.integration.manytoone.lazy;
import jakarta.persistence.Column;
import org.hibernate.cfg.AvailableSettings; import org.hibernate.cfg.AvailableSettings;
import org.hibernate.envers.AuditTable; import org.hibernate.envers.AuditTable;
import org.hibernate.envers.Audited; import org.hibernate.envers.Audited;
@ -85,6 +86,7 @@ public class ManyToOneLazyProxyTest {
@Id @Id
private Long id; private Long id;
@Column(name = "description")
private String desc; private String desc;
public Long getId() { public Long getId() {