Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Connection pooling and jpoxdatastore
Connection pooling and jpoxdatastore [message #610115] Mon, 22 October 2007 14:39
Eclipse UserFriend
Hi Martin,

I am trying to setup my app to use connection pooling on my websphere app
server. I followed the sample in JPox documentation and that seem to work.
However don't I still need to initialize jpoxdatastore?

The JPox sample seems to imply that I create my own PMF based on my
datasource

properties.setProperty("javax.jdo.PersistenceManagerFactoryClass ","org.jpox.PersistenceManagerFactoryImpl");
properties.setProperty("javax.jdo.option.ConnectionFactory",mydatasource);

PersistenceManagerFactory pmf =
JDOHelper.getPersistenceManagerFactory(properties);

Would I need to override the PMF create in jpoxdatastore with this one? Or
is there something simple I'm missing?

Julia
Previous Topic:Emfatic, Gymnast and ANTLR
Next Topic:Connection pooling and jpoxdatastore
Goto Forum:
  


Current Time: Sat Feb 08 04:03:23 GMT 2025

Powered by FUDForum. Page generated in 0.02988 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top