[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 01:22:18 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2009?page=comments#action_23959 ] 

Max Rydahl Andersen commented on HHH-2009:
------------------------------------------

as long as the testcase is failing i don't care what you are using ;)

> 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