Connection pooling and jpoxdatastore [message #610115] |
Mon, 22 October 2007 14:39 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02988 seconds