After switching to toplink I got;
Caused by: java.lang.NullPointerException
at
oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.getActivePersistenceContext(EntityManagerImpl.java:522)
at
oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.getActiveSession(EntityManagerImpl.java:378)
at
oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.getActiveSession(EJBQueryImpl.java:640)
at
oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:343)
at
oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.getResultList(EJBQueryImpl.java:438)
Definitely sth I use messes with Orchestra:)
On Wed, May 21, 2008 at 4:53 PM, Cagatay Civici <[EMAIL PROTECTED]>
wrote:
> Hi Mario,
>
> Thanks a lot for looking into it.
>
> The session is closed in the first request so I cannot open a page that
> uses a jpa dao to read some data to display for the initial request.
>
> Once I have the openentitymanagerinviewfilter of spring but I removed it
> after migrating to orchestra.
>
> I'll dig this more, change the jpa implementation(using hibernate now)
> maybe, if nothing helps I'll send you the small app Mario:)
>
> Thanks a lot again,
>
> Ciao,
>
> Cagatay
>