Esempio n. 1
0
 public JPAContext getJPAContext() {
   if (_jpaConfig == null) {
     _jpaConfig = getJPAConfig(getClass());
   }
   return _jpaConfig.getJPAContext();
 }
Esempio n. 2
0
 protected JPAContext getJPAContext() {
   if (_jpaConfig == null) {
     _jpaConfig = JPA.getJPAConfig(jpaConfigName);
   }
   return _jpaConfig.getJPAContext();
 }