HHH-13175 "Comment" is a reserved keyword for Oracle

This commit is contained in:
Guillaume Smet 2019-01-05 13:21:03 +01:00
parent 6dfb9becb7
commit 813121dc72
1 changed files with 1 additions and 2 deletions

View File

@ -231,7 +231,7 @@ public class EntityGraphFunctionalTests extends BaseEntityManagerFunctionalTestC
} }
} }
@Entity( name = "Comment") @Entity(name="CommentTable") // "Comment" reserved in Oracle
@Table( name = "comment" ) @Table( name = "comment" )
public static class Comment { public static class Comment {
private Integer id; private Integer id;
@ -247,7 +247,6 @@ public class EntityGraphFunctionalTests extends BaseEntityManagerFunctionalTestC
Issue issue, Issue issue,
String text, String text,
User commenter) { User commenter) {
this.id = id;
this.issue = issue; this.issue = issue;
this.text = text; this.text = text;
this.commenter = commenter; this.commenter = commenter;