1 Sep 17:13
lazy="true" in hibernate mapping
Hi Martin,
an another question today:
If I set lazy = "true" in the mappingfile, I get the NullPointException:
at
org.hibernate.tuple.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:372)
If I set the lazy ="false", in case if there are much data from a query, the
Exception:
ORA-01000: Maximale Anzahl offener Cursor überschritten
Reason: all the associated objects are loaded, thounds selects are called.
How can I stop to load the assoicated objects by a query?
Thanks for your help and have a nice weekend!
Hui
RSS Feed