this.baseURI = defaultURI;
if (getServerSession().hasExternalTransactionController()) {
transaction = new JTATransactionWrapper();
} else {
transaction = new ResourceLocalTransactionWrapper();
}
try {
this.jaxbContext = createDynamicJAXBContext(emf.getDatabaseSession());
} catch (JAXBException jaxbe) {
JPARSLogger.exception("exception_creating_jaxb_context", new Object[] { emfName, jaxbe.toString() }, jaxbe);