From 813121dc72f1c7cef29346e7645e6aa49b7af155 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Sat, 5 Jan 2019 13:21:03 +0100 Subject: [PATCH] HHH-13175 "Comment" is a reserved keyword for Oracle --- .../java/org/hibernate/graph/EntityGraphFunctionalTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hibernate-core/src/test/java/org/hibernate/graph/EntityGraphFunctionalTests.java b/hibernate-core/src/test/java/org/hibernate/graph/EntityGraphFunctionalTests.java index 52a2545b93..2a9518a103 100644 --- a/hibernate-core/src/test/java/org/hibernate/graph/EntityGraphFunctionalTests.java +++ b/hibernate-core/src/test/java/org/hibernate/graph/EntityGraphFunctionalTests.java @@ -231,7 +231,7 @@ public class EntityGraphFunctionalTests extends BaseEntityManagerFunctionalTestC } } - @Entity( name = "Comment") + @Entity(name="CommentTable") // "Comment" reserved in Oracle @Table( name = "comment" ) public static class Comment { private Integer id; @@ -247,7 +247,6 @@ public class EntityGraphFunctionalTests extends BaseEntityManagerFunctionalTestC Issue issue, String text, User commenter) { - this.id = id; this.issue = issue; this.text = text; this.commenter = commenter;