first i assume that you have a default constructor for Company (i.e. in the BaseObject).
the mappings looked fine to me but the message
Quote:
getter property com.Contact.?"
seems to indicate an erroneouse method name during the doCopy() in the session. it's hard to debug this from here so setup breakpoints in the follwing methods in the hibernate source
Code:
AbstractEntityPersister.setPropertyValues
AbstractEntityPersister.getPropertyValues
and step through it during the save. you should see one of the getter methods being set to null.
let us know what you find.