From 971783607e16cb0a6baf41d379e7c32f0f3fb8ee Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Tue, 8 Dec 2015 18:28:35 -0800 Subject: [PATCH] HHH-10369 : Unit test failure because Sybase trims trailing spaces --- .../enumerated/custom_mapkey/MapKeyCustomEnumTypeTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/custom_mapkey/MapKeyCustomEnumTypeTest.java b/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/custom_mapkey/MapKeyCustomEnumTypeTest.java index 5d17d2989b..7548c6b617 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/custom_mapkey/MapKeyCustomEnumTypeTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/annotations/enumerated/custom_mapkey/MapKeyCustomEnumTypeTest.java @@ -161,7 +161,7 @@ public class MapKeyCustomEnumTypeTest extends BaseNonConfigCoreFunctionalTestCas // ************** // custom global type(LastNumberType) entityMapEnum = new EntityMapEnum(); - entityMapEnum.lastNumberMap.put( LastNumber.NUMBER_1, "LastNumber.NUMBER_1 " ); + entityMapEnum.lastNumberMap.put( LastNumber.NUMBER_1, "LastNumber.NUMBER_1c" ); id = save( entityMapEnum ); found = assertFindEntityMapEnum( @@ -178,7 +178,7 @@ public class MapKeyCustomEnumTypeTest extends BaseNonConfigCoreFunctionalTestCas // override global type entityMapEnum = new EntityMapEnum(); entityMapEnum.explicitOverridingImplicitMap.put( - LastNumber.NUMBER_2, "LastNumber.NUMBER_2 " + LastNumber.NUMBER_2, "LastNumber.NUMBER_2a" ); id = save( entityMapEnum ); @@ -268,7 +268,7 @@ public class MapKeyCustomEnumTypeTest extends BaseNonConfigCoreFunctionalTestCas // override global type entityMapEnum = new EntityMapEnum(); entityMapEnum.explicitOverridingImplicitMap.put( - LastNumber.NUMBER_2, "LastNumber.NUMBER_2 " + LastNumber.NUMBER_2, "LastNumber.NUMBER_2b" ); id = save( entityMapEnum );