lazy « Cascade « JPA Q&A





1. Enforcing lazy=false not to do cascading    forum.hibernate.org

Hello guys ... I have a doubt ..... If my lazy=false in the hbm.xml is it possible to enforce in some cases the hibernate not to do cascading. The xml mapping is absolute truth? is it changeless by run time? if lazy=false ... hibernate ALWAYS going to make the cascade? isn't there a way to get out of this when i ...

2. Reverse engineering for cascade, lazy etc    forum.hibernate.org

I've been trying to find a standard method on how to setup a reverse engineering file to allow us to configure certain relationships to have the cascade value set to "all" for example. Also any other options like lazy="true" and what not. We want to keep from having to set certain values on the mapping files every time we do a ...