I have a class A and classes B and C which extend A.
I have another class D which is member of A and A has many to one reltionship with D. There by B and C also have many-to-one relationship with D.
When I try to access D from A, it gives CGLIB related Exception , saying that "Problem setting property values". But this happens, only if any one of the columns do not have any values in the table mapped to D. If all the column values are populated, then this doesn't happen?
Atleast from what I read from the documentation there is no configuration/ parameters in the HBM files will dictate this kind of behaviour.
As I'm new Hibernate, I think I'm missing something here.
Can anyone help????
Thanks in advance.
|