[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5644) the list method should throw a exception when entity resource isn't add to Configuration class
xu (JIRA)
noreply at atlassian.com
Mon Nov 8 06:15:13 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39062#action_39062 ]
xu commented on HHH-5644:
-------------------------
Hi,guys,one month has been passed but there are not comments yet,I just din't konw the reason.Thank you.
> 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