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
This commit is contained in:
Scott Marlow 2010-01-05 03:18:23 +00:00
parent 39b098aac3
commit 19f9443b6e
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public class NamingStrategyTest extends TestCase {
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);
}