Hello, in the onFlushDirty event, in the propertyNames parameter I find a property that it's not mapped in my entity: is a ManyToOne referenced with referencedColumnName, and it has the full entity name (with namespace) in it.
Example:
Entity A: Other properties here...
Entity B: @ManyToOne @JoinColumn(name = "B_COLUMN", referencedColumnName="A_OTHER_COLUMN") A a;
While onFlushDirty on A is called, I found something like B_A property, but there is no such property in A.
Is it the correct behaviour? If yes, why?
Thank you.
|