|
From: <leg...@at...> - 2003-08-14 08:22:02
|
The following comment has been added to this issue:
Author: Max Rydahl Andersen
Created: Thu, 14 Aug 2003 2:47 AM
Body:
ok - so the fix is just to make a new collection initialised with the result of iterating classpersisters and call getClassMetaData() ...
i'll fix that one. I guess the same applies for CollectionMetaData?
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-258
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-258
Summary: Not all ClassPersister's implements ClassMetadata
Type: Bug
Status: Unassigned
Priority: Minor
Project: Hibernate2
Components:
core
Versions:
2.1
Assignee:
Reporter: Max Rydahl Andersen
Created: Wed, 13 Aug 2003 2:46 PM
Updated: Wed, 13 Aug 2003 6:51 PM
Description:
When using a CustomPersister the only requirement is that it extends ClassPersister - this makes it possible to have SessionFactory return objects in getAllClassMetadata() that does NOT implement ClassMetadata.
This is not good for tools like hibern8ide and the uniformity of the api.....should ClassPersister extend ClassMetadata to enforce the "contract" ?
Gavin: this "functionallity" is the reason you get an exception in hibern8ide - just add Custom.hbm.xml and you'll see it everytime ;)
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|