try {
InputStream propertyStream = new FileInputStream("jdo.properties");
Properties jdoproperties = new Properties();
jdoproperties.load(propertyStream);
jdoproperties.putAll(getPropertyOverrides());
pmf = JDOHelper.getPersistenceManagerFactory(jdoproperties);
pm = pmf.getPersistenceManager();
tx = pm.currentTransaction();
} catch(Exception e) {
e.printStackTrace(System.err);
System.exit(-1);
}