[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2009) org.hibernate.pretty.Printer assumes ClassMetadata.getPropertyNames & getPropertyValues have the same order
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Thu Aug 17 00:41:19 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2009?page=comments#action_23956 ]
Max Rydahl Andersen commented on HHH-2009:
------------------------------------------
testcase proving it ?
if they were not the same order *alot* of other things would fall apart.
> org.hibernate.pretty.Printer assumes ClassMetadata.getPropertyNames & getPropertyValues have the same order
> -----------------------------------------------------------------------------------------------------------
>
> Key: HHH-2009
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2009
> Project: Hibernate3
> Type: Bug
> Components: core
> Versions: 3.2.0.cr3
> Reporter: Anders Wallgren
>
>
> I noticed that Printer scrambles the names and values when printing entities. It seems that it relies on the order of objects in the array returned from ClassMetadata.getPropertyNames is the same as that in the array returned by ClassMetadata.getPropertyValues, which, as far as I can tell, is not the case.
> ...or perhaps this is a bug in ClassMetadata.getPropertyValues?
--
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