hi all,
i'm doing to do the following from sec. 7 of the manual:
meta is an instance of ClassMetadata
obj is an instance of an unknown Class (but a hibernated obj)
String[] propertyNames = meta.getPropertyNames();
Type[] propertyTypes = meta.getPropertyTypes();
Object[] propertyValues = meta.getPropertyValues( obj );
while i'm iterating over the propertyValues, i'd like to travel associations to other Objects (one-to-many assoc. etc) but an Object x = propertyValues[i] for a propertyTypes[i].isEntityType() always returns null.
how can i travel associations using metadata-info?
thx, jan
|