[hibernate-issues] [Hibernate-JIRA] Commented: (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:08:13 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39099#action_39099 ]
Strong Liu commented on HHH-5644:
---------------------------------
the 3.2.0 is too old, try the latest version (3.6.1) and see if the bug exist
> 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