File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
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
Persistence Context scope and type
Why use Stateful session bean as opposed to a HTTP session ?
SLSB Transaction scoped EntityManager calling SFSB Extended EntityManager
Error when trying to use an extended persistence context in EJB 3
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015