You're going to have to give a better description of your scenario for us to help you.
Thanks, Rick On Fri, Mar 7, 2014 at 3:37 AM, yu wang <wangy...@gmail.com> wrote: > Hi Gurus, > I have manager.createNativeQuery() in a loop eventually lead to Oracle > error: > ORA-00604 and ORA-01000, which means cursors open in the oracle exceed the > maximum. > > My question is how can I close some cursors explicitly in a loop? I try > manager.clear() but seems it does not work. > > We are using OpenJPA 1.2.3. > > Regards, > Yu Wang > -- *Rick Curtis*