[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-565) NamingStrategy.classToTableName receives only class name, not a fully qualified name as stated in javadoc

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Sat Feb 24 02:05:36 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-565?page=comments#action_26279 ] 

Max Rydahl Andersen commented on ANN-565:
-----------------------------------------

btw. the workaround is to explicitly specify/duplicate the entityname in the entities, correct? (annoying, but should work, right ?)

> NamingStrategy.classToTableName receives only class name, not a fully qualified name as stated in javadoc
> ---------------------------------------------------------------------------------------------------------
>
>          Key: ANN-565
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-565
>      Project: Hibernate Annotations
>         Type: Bug

>   Components: binder
>     Versions: 3.2.0.cr2
>     Reporter: Lóránt Pintér
>  Attachments: hibernate-annotations-3.2.1.patch.txt
>
>
> I have a custom NamingStrategy that overrides classToTableName in EJB3NamingStrategy. Prior to upgrading to Hibernate 3.1.3, my NamingStrategy implementation received the correct classnames as documented in the javadoc at http://www.hibernate.org/hib_docs/v3/api/org/hibernate/cfg/NamingStrategy.html#classToTableName(java.lang.String)
> Since then, it only receives the name of the class without the package specification. I tried upgrading to 3.2.0.cr2, but it didn't help.

-- 
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.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira





More information about the hibernate-issues mailing list