当前页面:
在线文档首页 >
JBoss Seam 1.2.0 patch1 API 英文版文档
EntityManagerProxy (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档
org.jboss.seam.persistence
Class EntityManagerProxy
java.lang.Object
org.jboss.seam.persistence.EntityManagerProxy
- All Implemented Interfaces:
- javax.persistence.EntityManager
public class EntityManagerProxy
- extends Object
- implements javax.persistence.EntityManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityManagerProxy
public EntityManagerProxy(javax.persistence.EntityManager entityManager)
clear
public void clear()
- Specified by:
clear
in interface javax.persistence.EntityManager
close
public void close()
- Specified by:
close
in interface javax.persistence.EntityManager
contains
public boolean contains(Object entity)
- Specified by:
contains
in interface javax.persistence.EntityManager
createNamedQuery
public javax.persistence.Query createNamedQuery(String name)
- Specified by:
createNamedQuery
in interface javax.persistence.EntityManager
createNativeQuery
public javax.persistence.Query createNativeQuery(String sql,
Class clazz)
- Specified by:
createNativeQuery
in interface javax.persistence.EntityManager
createNativeQuery
public javax.persistence.Query createNativeQuery(String sql,
String lang)
- Specified by:
createNativeQuery
in interface javax.persistence.EntityManager
createNativeQuery
public javax.persistence.Query createNativeQuery(String sql)
- Specified by:
createNativeQuery
in interface javax.persistence.EntityManager
createQuery
public javax.persistence.Query createQuery(String ejbql)
- Specified by:
createQuery
in interface javax.persistence.EntityManager
find
public <T> T find(Class<T> clazz,
Object id)
- Specified by:
find
in interface javax.persistence.EntityManager
flush
public void flush()
- Specified by:
flush
in interface javax.persistence.EntityManager
getDelegate
public Object getDelegate()
- Specified by:
getDelegate
in interface javax.persistence.EntityManager
getFlushMode
public javax.persistence.FlushModeType getFlushMode()
- Specified by:
getFlushMode
in interface javax.persistence.EntityManager
getReference
public <T> T getReference(Class<T> clazz,
Object id)
- Specified by:
getReference
in interface javax.persistence.EntityManager
getTransaction
public javax.persistence.EntityTransaction getTransaction()
- Specified by:
getTransaction
in interface javax.persistence.EntityManager
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface javax.persistence.EntityManager
joinTransaction
public void joinTransaction()
- Specified by:
joinTransaction
in interface javax.persistence.EntityManager
lock
public void lock(Object entity,
javax.persistence.LockModeType lm)
- Specified by:
lock
in interface javax.persistence.EntityManager
merge
public <T> T merge(T entity)
- Specified by:
merge
in interface javax.persistence.EntityManager
persist
public void persist(Object entity)
- Specified by:
persist
in interface javax.persistence.EntityManager
refresh
public void refresh(Object entity)
- Specified by:
refresh
in interface javax.persistence.EntityManager
remove
public void remove(Object entity)
- Specified by:
remove
in interface javax.persistence.EntityManager
setFlushMode
public void setFlushMode(javax.persistence.FlushModeType fm)
- Specified by:
setFlushMode
in interface javax.persistence.EntityManager