HHH-12507 : InsertOrderingWithCompositeTypeAssociation test fails on Oracle due to reserved word

(cherry picked from commit c7ea49a0b3)
This commit is contained in:
Gail Badner 2018-04-19 14:14:41 -07:00
parent 00358fffd7
commit 1f70ef7494
1 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,6 @@
package org.hibernate.test.insertordering;
import java.util.Map;
import java.util.Objects;
import java.util.UUID;
import javax.persistence.CascadeType;
@ -20,6 +19,7 @@ import javax.persistence.ForeignKey;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
import org.hibernate.cfg.AvailableSettings;
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
@ -61,10 +61,11 @@ public class InsertOrderingWithCompositeTypeAssociation extends BaseEntityManage
}
@Entity(name = "Comment")
@Table(name = "COMMENT_TABLE")
public static class Comment {
@Id
private String id;
@Column(length = 256)
@Column(name = "`comment`", length = 256)
private String comment;
Comment() {