181182183184185186187188189190
return cfg; } public ITransaction getTransaction(){ if(getEntityManager() instanceof org.eclipse.persistence.jpa.JpaEntityManager){ return new JPAEclipseLinkTransaction(this); } else{ return new JPAHibernateTransaction(this); } }