Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.2.0cr3
Has anyone else noticed that in the output of Printer, the output is scrambled, namely that the wrong property value is printed with the wrong name?
That is, I'm seeing
Code:
2006-08-16T19:26:14.85 | DEBUG | ApiQueue-1 | DeleteJob#1 | Printer | com.electriccloud.commander.domain.ProjectImpl{acl=1, modifiedBy=null, schedules=null, description=2006-08-16 19:26:01, createDate=test, updateDate=<uninitialized>, propertySheet=com.electriccloud.commander.domain.PropertySheetImpl#2, procedures=com.electriccloud.commander.domain.AclImpl#3, name=2006-08-16 19:26:01, id=1, version=<uninitialized>}
In this fragment, the 'createDate' value is printed in the 'description' slot, etc.
It looks like the code assumes that the order of the objects in the arrays returned by ClassMetadata.getPropertyNames and ClassMetadata.getPropertyValues are correlated. However, by inspection, this doesn't seem to be the case.
I filed HHH-2009 against this.