HHH-12507 : InsertOrderingWithCompositeTypeAssociation test fails on Oracle due to reserved word
(cherry picked from commit c7ea49a0b3
)
This commit is contained in:
parent
00358fffd7
commit
1f70ef7494
|
@ -7,7 +7,6 @@
|
||||||
package org.hibernate.test.insertordering;
|
package org.hibernate.test.insertordering;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Objects;
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import javax.persistence.CascadeType;
|
import javax.persistence.CascadeType;
|
||||||
|
@ -20,6 +19,7 @@ import javax.persistence.ForeignKey;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
import javax.persistence.JoinColumn;
|
import javax.persistence.JoinColumn;
|
||||||
import javax.persistence.OneToOne;
|
import javax.persistence.OneToOne;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
import org.hibernate.cfg.AvailableSettings;
|
import org.hibernate.cfg.AvailableSettings;
|
||||||
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
|
||||||
|
@ -61,10 +61,11 @@ public class InsertOrderingWithCompositeTypeAssociation extends BaseEntityManage
|
||||||
}
|
}
|
||||||
|
|
||||||
@Entity(name = "Comment")
|
@Entity(name = "Comment")
|
||||||
|
@Table(name = "COMMENT_TABLE")
|
||||||
public static class Comment {
|
public static class Comment {
|
||||||
@Id
|
@Id
|
||||||
private String id;
|
private String id;
|
||||||
@Column(length = 256)
|
@Column(name = "`comment`", length = 256)
|
||||||
private String comment;
|
private String comment;
|
||||||
|
|
||||||
Comment() {
|
Comment() {
|
||||||
|
|
Loading…
Reference in New Issue