net.csdn.jpa.context
Class JPAConfig
java.lang.Object
net.csdn.jpa.context.JPAConfig
public class JPAConfig
- extends Object
BlogInfo: WilliamZhu
Date: 12-6-26
Time: 下午9:19
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPAConfig
public JPAConfig(Map<String,String> _properties,
String _configName)
getConfigName
public String getConfigName()
close
protected void close()
isEnabled
public boolean isEnabled()
- Returns:
- true 如果 entityManagerFactory 已经启动
newEntityManager
public javax.persistence.EntityManager newEntityManager()
getJPAContext
public JPAContext getJPAContext()
reInitJPAContext
public JPAContext reInitJPAContext()
clearJPAContext
protected void clearJPAContext()
Copyright © 2014. All Rights Reserved.