public static PersistenceManager openDB ( String dbName ) { DBTracer . logCall ( ZooJdoHelper . class , dbName ) ; ZooJdoProperties props = new ZooJdoProperties ( dbName ) ; PersistenceManagerFactory pmf = JDOHelper . getPersistenceManagerFactory ( props ) ; PersistenceManager pm = pmf . getPersistenceManager ( ) ; return pm ; }
Open a database .