From 9069d7aed9fc41bff4d9303c35439f0842e62084 Mon Sep 17 00:00:00 2001 From: Brett Meyer Date: Thu, 14 Feb 2013 12:28:02 -0500 Subject: [PATCH] HHH-8006 MergeCollectionEventTest & BadMergeHandlingTest fail on MySQL --- .../test/event/collection/detached/Character.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/Character.java b/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/Character.java index 8fb59524a7..d93ae072f2 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/Character.java +++ b/hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/Character.java @@ -23,17 +23,21 @@ */ package org.hibernate.test.event.collection.detached; +import java.util.ArrayList; +import java.util.List; + import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.ManyToMany; -import java.util.ArrayList; -import java.util.List; +import javax.persistence.Table; /** * @author Steve Ebersole */ @Entity +// "Character" is reserved in MySQL +@Table( name = "CharacterTable" ) public class Character implements Identifiable { private Integer id; private String name;