예제 #1
0
파일: JPABase.java 프로젝트: novayoung/play
 public JPAContext getJPAContext() {
   if (_jpaConfig == null) {
     _jpaConfig = getJPAConfig(getClass());
   }
   return _jpaConfig.getJPAContext();
 }
예제 #2
0
파일: JPAPlugin.java 프로젝트: visan/play1
 protected JPAContext getJPAContext() {
   if (_jpaConfig == null) {
     _jpaConfig = JPA.getJPAConfig(jpaConfigName);
   }
   return _jpaConfig.getJPAContext();
 }