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

xu (JIRA) noreply at atlassian.com
Sat Oct 9 10:32:57 EDT 2010


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