p.setProperty("PersistenceManagerFactoryClass", "com.sun.jdori.common.PersistenceManagerFactoryImpl"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(p); return pmf.getPersistenceManager();
try { p.load(new FileInputStream("jdo.properties")); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(p); return pmf.getPersistenceManager(); } catch (IOException ex) { throw new RuntimeException(ex.toString()); }
	public PersistenceManager getPM() {		Properties p = new Properties();		p.setProperty("PersistenceManagerFactoryClass",			"com.sun.jdori.common.PersistenceManagerFactoryImpl");		PersistenceManagerFactory pmf = 			JDOHelper.getPersistenceManagerFactory(p);		return pmf.getPersistenceManager();	}