A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Lookup problem for Stateful session EJB with EXTENDED persistance context
Joined: Jun 17, 2010
Jun 17, 2010 04:54:26
I'm doing lookup for Stateful session
with EXTENDED persistance context from
code as follows...
i'm getting following exception during lookup...
: Extended Persistence Contexts can only be invoked from within the context of the stateful session bean that declares the Extended Persistence Context."
&, if i remove the Extended persistance context, then look happens successfully...
Can you guys help me in understanding what is going wrong???
I agree. Here's the link:
subject: Lookup problem for Stateful session EJB with EXTENDED persistance context
Error when trying to use an extended persistence context in EJB 3
SLSB Transaction scoped EntityManager calling SFSB Extended EntityManager
Why use Stateful session bean as opposed to a HTTP session ?
Persistence Context scope and type
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014