[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4753?page=c...
]
Steve Ebersole commented on HHH-4753:
-------------------------------------
The JPA specification (section 11.1.8) says that the default table name for a
@CollectionTable should be "The concatenation of the name of the containing entity
and the name of the collection attribute, separated by an underscore."
Currently our EJB3NamingStrategy impl is using the table name of the owning entity instead
of the entity name. This is dictated by the NamingStrategy#collectionTableName. It may
be enough to have EJB3NamingStrategy#collectionTableName checking the incoming
'associatedEntity' argument for nullness as the signal here to differentiate
between a many-to-many collection and a value collection.
Default table name for @CollectionTable is not inferred correctly
according to spec requirement
-----------------------------------------------------------------------------------------------
Key: HHH-4753
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4753
Project: Hibernate Core
Issue Type: Sub-task
Components: annotations
Reporter: Steve Ebersole
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira