Re: How to prevent stack overflow
Can it be issue 931?
thanks,
-marina
Dirk Bangel wrote:
> Stacktrace:
>
>
>
>
>
> Exception in thread "main" java.lang.StackOverflowError
>
> at
> oracle.toplink.essentials.sessions.Project.getDescriptors(_Project.java:376_)
>
> at
> oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.getDescriptors(_DatabaseSessionImpl.java:319_)
>
> at
> oracle.toplink.essentials.threetier.ClientSession.getDescriptors(_ClientSession.java:245_)
>
> at
> oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.getDescriptors(_UnitOfWorkImpl.java:1716_)
>
> at
> oracle.toplink.essentials.internal.sessions.AbstractSession.getDescriptor(_AbstractSession.java:1242_)
>
> at
> oracle.toplink.essentials.internal.sessions.AbstractSession.getDescriptor(_AbstractSession.java:1286_)
>
> at
> oracle.toplink.essentials.internal.descriptors.ObjectBuilder.wrapObject(_ObjectBuilder.java:2285_)
>
> at
> oracle.toplink.essentials.internal.descriptors.ObjectBuilder.wrapObject(_ObjectBuilder.java:2285_)
>
> at
> oracle.toplink.essentials.internal.descriptors.ObjectBuilder.wrapObject(_ObjectBuilder.java:2285_)
>
>
>
> <<and so on>>
>
>
>
> ------------------------------------------------------------------------
>
> *From:* Dirk Bangel [mailto:dirk.bangel_at_gmx.de]
> *Sent:* Dienstag, 29. August 2006 09:39
> *To:* persistence_at_glassfish.dev.java.net
> *Subject:* How to prevent stack overflow
>
>
>
> Again me,
>
>
>
> After solving my initial problem I am getting “Stack Overflow”
> exception. Is there a “Best Practice” to be able
>
> to persist a huge bunch of java instances?
>
>
>
> -
>
>
>
> DIrk
>