Skip to content

Commit

Permalink
HHH-12507 : InsertOrderingWithCompositeTypeAssociation test fails on …
Browse files Browse the repository at this point in the history
…Oracle due to reserved word

(cherry picked from commit c7ea49a)
  • Loading branch information
gbadner committed Apr 19, 2018
1 parent 37e39d9 commit 34c9da7
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -19,6 +19,7 @@
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import org.hibernate.Session;
import org.hibernate.cfg.AvailableSettings;
Expand Down Expand Up @@ -61,10 +62,11 @@ public void setIntermediateObject(IntermediateObject intermediateObject) {
}

@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() {
Expand Down

0 comments on commit 34c9da7

Please sign in to comment.