Ok, i think http://openejb.apache.org/ is what I'm looking for.
Unfortunately it uses openJPA 1.0.1 (my openJPA beans were developed
with 1.1 - is it compatible?)
But i can't get it to run as i get this exception:
"There were errors initializing your configuration:
<openjpa-1.0.1-r420667:592145 fatal store error>
org.apache.openjpa.util.StoreException:
Not supported by BasicDataSource"
The stack trace has no other information but ends too early.
How can i debug this exception?
Thanks
Marcel
PS: I use postgres 8.3
Marcel Ruff wrote:
Hi,
if i use openJPA i don't have a @Stateless implementation, right?
What i need is a simple JTA container for one @Stateless
to access the opneJPA EJB3 beans (whithout doing begin()/commit()
explicitely).
Do i need to install a complete J2EE server or is there
somewhere a simple openJTAxy.jar which I can use in front
of openJPA?
Do i miss something?
This is what i need:
@Stateless
public class MyImpl implements MyInterface {
@PersistenceContext
EntityManager em;
...
Thank you for some enlightment,
Marcel