[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2009) org.hibernate.pretty.Printer assumes ClassMetadata.getPropertyNames & getPropertyValues have the same order

Anders Wallgren (JIRA) noreply at atlassian.com
Wed Aug 16 23:01:19 EDT 2006


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