[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6552) Map returned by MetadataImpl.getImports() does not include entries for unqualified entity names

Gail Badner (JIRA) noreply at atlassian.com
Mon Mar 26 16:16:48 EDT 2012


    [ https://hibernate.onjira.com/browse/HHH-6552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46077#comment-46077 ] 

Gail Badner commented on HHH-6552:
----------------------------------

This can be reproduced by executing HQL using an entity name that is not qualified with its package.

For example, in org.hibernate.test.unidir.manytoone.UnidirectionalManyToOneTest.testUnidirectionalManyToOne() will fail if the HQL:

"delete from org.hibernate.test.unidir.manytoone.Child"

is changed to:

"delete from Child"

> Map returned by MetadataImpl.getImports() does not include entries for unqualified entity names
> -----------------------------------------------------------------------------------------------
>
>                 Key: HHH-6552
>                 URL: https://hibernate.onjira.com/browse/HHH-6552
>             Project: Hibernate ORM
>          Issue Type: Bug
>            Reporter: Gail Badner
>            Assignee: John Verhaeg
>             Fix For: 5.0.0
>
>
> I see this happening with both HBM XML and annotations.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list