Hi,
If i model a many-to-one association like
---
Entity FaultTimer {
- @Fault fault
}
Entity Fault {}
---
then the following snippet in FaultType.hbm.xml is generated:
---
<many-to-one name="fault" column="FAULT" class="xyz.Fault"
cascade="all"/>
---
The problem is the cascade="all". If I delete the timer, the fault is
also be removed, which causes a DatabaseAccessaException. I must
explicit model cascade="none".
Could we change the default generation of the cascade attribute to
generate nothing if no explicit cascade is modelled in model?
regards
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer