views:

10

answers:

0

Hi,

Hibernate exposes its data model through the Configuration object, where I can access PersistentClass and Property objects. Some of the Property objects describe a relation between two PersistentClass instances.

For example, if I have a one-to-many relation between Person and Address in my model, and a many-to-one inverse relation between Address and Person, how can I find out that the two Property objects describing these relations belong together?

Regards, Jochen