In tutorial 4 I found something like:

factory = new OjbStorePMF();


Isn't this a better way to create a PersistenceManagerFactory?

    Properties props = new Properties();
        props.setProperty("javax.jdo.PersistenceManagerFactoryClass",
"org.apache.ojb.jdori.sql.OjbStorePMF");

        PersistenceManagerFactory pmf =
JDOHelper.getPersistenceManagerFactory(props);
        PersistenceManager pm = pmf.getPersistenceManager();

  Another question...

  What are the limitations of this JDO plugin? Can I use it safely for
makePersistent, deletePersistent and getObjectById and transaction
management  (these are the only methods I need)?

Thank you,

Pedro Salgado


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to