public class JoaFipEntityManager extends Object implements javax.persistence.EntityManager
Constructor and Description |
---|
JoaFipEntityManager(Map map) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
boolean |
contains(Object entity) |
javax.persistence.Query |
createNamedQuery(String name) |
<T> javax.persistence.TypedQuery<T> |
createNamedQuery(String arg0,
Class<T> arg1) |
javax.persistence.Query |
createNativeQuery(String sqlString) |
javax.persistence.Query |
createNativeQuery(String sqlString,
Class resultClass) |
javax.persistence.Query |
createNativeQuery(String sqlString,
String resultSetMapping) |
<T> javax.persistence.TypedQuery<T> |
createQuery(javax.persistence.criteria.CriteriaQuery<T> arg0) |
javax.persistence.Query |
createQuery(String qlString) |
<T> javax.persistence.TypedQuery<T> |
createQuery(String arg0,
Class<T> arg1) |
void |
detach(Object arg0) |
<T> T |
find(Class<T> entityClass,
Object primaryKey) |
<T> T |
find(Class<T> arg0,
Object arg1,
javax.persistence.LockModeType arg2) |
<T> T |
find(Class<T> arg0,
Object arg1,
javax.persistence.LockModeType arg2,
Map<String,Object> arg3) |
<T> T |
find(Class<T> arg0,
Object arg1,
Map<String,Object> arg2) |
void |
flush() |
javax.persistence.criteria.CriteriaBuilder |
getCriteriaBuilder() |
Object |
getDelegate() |
javax.persistence.EntityManagerFactory |
getEntityManagerFactory() |
javax.persistence.FlushModeType |
getFlushMode() |
javax.persistence.LockModeType |
getLockMode(Object arg0) |
javax.persistence.metamodel.Metamodel |
getMetamodel() |
Map<String,Object> |
getProperties() |
<T> T |
getReference(Class<T> entityClass,
Object primaryKey) |
javax.persistence.EntityTransaction |
getTransaction() |
boolean |
isOpen() |
void |
joinTransaction() |
void |
lock(Object entity,
javax.persistence.LockModeType lockMode) |
void |
lock(Object arg0,
javax.persistence.LockModeType arg1,
Map<String,Object> arg2) |
<T> T |
merge(T entity) |
void |
persist(Object entity) |
void |
refresh(Object entity) |
void |
refresh(Object arg0,
javax.persistence.LockModeType arg1) |
void |
refresh(Object arg0,
javax.persistence.LockModeType arg1,
Map<String,Object> arg2) |
void |
refresh(Object arg0,
Map<String,Object> arg1) |
void |
remove(Object entity) |
void |
setFlushMode(javax.persistence.FlushModeType flushMode) |
void |
setProperty(String arg0,
Object arg1) |
<T> T |
unwrap(Class<T> arg0) |
public JoaFipEntityManager(Map map)
map
- public void persist(Object entity)
persist
in interface javax.persistence.EntityManager
public <T> T merge(T entity)
merge
in interface javax.persistence.EntityManager
public void remove(Object entity)
remove
in interface javax.persistence.EntityManager
public <T> T find(Class<T> entityClass, Object primaryKey)
find
in interface javax.persistence.EntityManager
public <T> T getReference(Class<T> entityClass, Object primaryKey)
getReference
in interface javax.persistence.EntityManager
public void flush()
flush
in interface javax.persistence.EntityManager
public void setFlushMode(javax.persistence.FlushModeType flushMode)
setFlushMode
in interface javax.persistence.EntityManager
public javax.persistence.FlushModeType getFlushMode()
getFlushMode
in interface javax.persistence.EntityManager
public void lock(Object entity, javax.persistence.LockModeType lockMode)
lock
in interface javax.persistence.EntityManager
public void refresh(Object entity)
refresh
in interface javax.persistence.EntityManager
public void clear()
clear
in interface javax.persistence.EntityManager
public boolean contains(Object entity)
contains
in interface javax.persistence.EntityManager
public javax.persistence.Query createQuery(String qlString)
createQuery
in interface javax.persistence.EntityManager
public javax.persistence.Query createNamedQuery(String name)
createNamedQuery
in interface javax.persistence.EntityManager
public javax.persistence.Query createNativeQuery(String sqlString)
createNativeQuery
in interface javax.persistence.EntityManager
public javax.persistence.Query createNativeQuery(String sqlString, Class resultClass)
createNativeQuery
in interface javax.persistence.EntityManager
public javax.persistence.Query createNativeQuery(String sqlString, String resultSetMapping)
createNativeQuery
in interface javax.persistence.EntityManager
public void joinTransaction()
joinTransaction
in interface javax.persistence.EntityManager
public Object getDelegate()
getDelegate
in interface javax.persistence.EntityManager
public void close()
close
in interface javax.persistence.EntityManager
public boolean isOpen()
isOpen
in interface javax.persistence.EntityManager
public javax.persistence.EntityTransaction getTransaction()
getTransaction
in interface javax.persistence.EntityManager
public <T> javax.persistence.TypedQuery<T> createNamedQuery(String arg0, Class<T> arg1)
createNamedQuery
in interface javax.persistence.EntityManager
public <T> javax.persistence.TypedQuery<T> createQuery(javax.persistence.criteria.CriteriaQuery<T> arg0)
createQuery
in interface javax.persistence.EntityManager
public <T> javax.persistence.TypedQuery<T> createQuery(String arg0, Class<T> arg1)
createQuery
in interface javax.persistence.EntityManager
public void detach(Object arg0)
detach
in interface javax.persistence.EntityManager
public <T> T find(Class<T> arg0, Object arg1, Map<String,Object> arg2)
find
in interface javax.persistence.EntityManager
public <T> T find(Class<T> arg0, Object arg1, javax.persistence.LockModeType arg2)
find
in interface javax.persistence.EntityManager
public <T> T find(Class<T> arg0, Object arg1, javax.persistence.LockModeType arg2, Map<String,Object> arg3)
find
in interface javax.persistence.EntityManager
public javax.persistence.criteria.CriteriaBuilder getCriteriaBuilder()
getCriteriaBuilder
in interface javax.persistence.EntityManager
public javax.persistence.EntityManagerFactory getEntityManagerFactory()
getEntityManagerFactory
in interface javax.persistence.EntityManager
public javax.persistence.LockModeType getLockMode(Object arg0)
getLockMode
in interface javax.persistence.EntityManager
public javax.persistence.metamodel.Metamodel getMetamodel()
getMetamodel
in interface javax.persistence.EntityManager
public Map<String,Object> getProperties()
getProperties
in interface javax.persistence.EntityManager
public void lock(Object arg0, javax.persistence.LockModeType arg1, Map<String,Object> arg2)
lock
in interface javax.persistence.EntityManager
public void refresh(Object arg0, Map<String,Object> arg1)
refresh
in interface javax.persistence.EntityManager
public void refresh(Object arg0, javax.persistence.LockModeType arg1)
refresh
in interface javax.persistence.EntityManager
public void refresh(Object arg0, javax.persistence.LockModeType arg1, Map<String,Object> arg2)
refresh
in interface javax.persistence.EntityManager
public void setProperty(String arg0, Object arg1)
setProperty
in interface javax.persistence.EntityManager
public <T> T unwrap(Class<T> arg0)
unwrap
in interface javax.persistence.EntityManager
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.