@Anil_Buyukarslan please post the full stack trace of the issue - from the limited one you pasted here, it doesn’t look like the error occurs when setting the collection’s owner but when invoking the setter method for the component.list
field.
Also, note that hbm.xml
are considered deprecated, we strongly suggest evaluating a migration to mapping annotations or at least to the standard orm.xml
mapping files.