[hibernate-issues] [Hibernate-JIRA] Assigned: (HHH-5644) the list method should throw a exception when entity resource isn't add to Configuration class

Strong Liu (JIRA) noreply at atlassian.com
Sun Nov 14 09:26:13 EST 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Strong Liu reassigned HHH-5644:
-------------------------------

    Assignee: Strong Liu

> the list method should throw a exception when entity resource isn't add to Configuration class
> ----------------------------------------------------------------------------------------------
>
>                 Key: HHH-5644
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5644
>             Project: Hibernate Core
>          Issue Type: Bug
>    Affects Versions: 3.2.0.ga
>         Environment: hibernate version:3.2.0.ga database platform:Oracle9I
>            Reporter: xu
>            Assignee: Strong Liu
>         Attachments: test.rar
>
>
> Hi,I have get a problem in using the Hibernate framework, the hibernate version is 3.2.0. you can copy my unit test files into your project and run HibernateTest as a junit test application, the test result will be passed. But I think when the "Ya24" entity resource isn't add to Configuration, the list method at line 32 should throw a "org.hibernate.testmy.entity.Ya24dd is not mapped" exception, what do you think?
> ps. I found the same question at the latest version hibernate-distribution-3.6.0.CR2-dist.And running the test didn't need any database platform.Thank you.

-- 
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