From 19f9443b6e3a87a8deb2b2209779d67f98f9f1f7 Mon Sep 17 00:00:00 2001 From: Scott Marlow Date: Tue, 5 Jan 2010 03:18:23 +0000 Subject: [PATCH] HHH-4753 Default table name for @CollectionTable is not inferred correctly according to spec requirement git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18406 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../test/annotations/namingstrategy/NamingStrategyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annotations/src/test/java/org/hibernate/test/annotations/namingstrategy/NamingStrategyTest.java b/annotations/src/test/java/org/hibernate/test/annotations/namingstrategy/NamingStrategyTest.java index 2298bcec8f..0b8ceac840 100644 --- a/annotations/src/test/java/org/hibernate/test/annotations/namingstrategy/NamingStrategyTest.java +++ b/annotations/src/test/java/org/hibernate/test/annotations/namingstrategy/NamingStrategyTest.java @@ -56,7 +56,7 @@ public void testWithEJB3NamingStrategy() throws Exception { foundIt = true; } // make sure we use A_ADDRESS instead of AEC_address - assertFalse("got table name mapped to: AEC_address which violates JPA-2 spec section 11.1.8 ([OWNING_ENTITY_NAME]_[COLLECTION_ATTRIBUTE_NAME])",table.getName().equalsIgnoreCase("AEC_address")); + assertFalse("got table name mapped to: AEC_address (should be A_ADDRESS) which violates JPA-2 spec section 11.1.8 ([OWNING_ENTITY_NAME]_[COLLECTION_ATTRIBUTE_NAME])",table.getName().equalsIgnoreCase("AEC_address")); } assertTrue("table not mapped to A_ADDRESS which violates JPA-2 spec section 11.1.8",foundIt); }