I have to join a entity with a view to retrieve some data into properties
<join table="XXVIEW" optional="true">
<key column="ID_ENT" />
<property name="Prop1" insert ="false" update ="false" />
<property name="Prop2" insert ="false" update ="false" />
<property name="Prop3" insert ="false" update ="false" />
</join>
But when i try to save (insert) it fails becouse it try to insert a record in XXVIEW with ID_Ent
I need to have some properties in this entity get from various calculations or joins and to have as single properties non in a object property like a component.
Can i skip this insert ??? or can i map this properties in other way?
This properties is in a joined subclass. TIA Adb