PMF.java.svn-base
资源名称:cindyblog.rar [点击查看]
上传用户:cdpainuo
上传日期:2022-07-12
资源大小:5257k
文件大小:0k
源码类别:
Jsp/Servlet
开发平台:
Java
- package com.appspot.cindyblog.common;
- import javax.jdo.JDOHelper;
- import javax.jdo.PersistenceManagerFactory;
- /**
- * @author Max Ross <maxr@google.com>
- */
- public final class PMF {
- private static final PersistenceManagerFactory INSTANCE =
- JDOHelper.getPersistenceManagerFactory("transactions-optional");
- public static PersistenceManagerFactory get() {
- return INSTANCE;
- }
- private PMF() {}
- }