| java.lang.Object com.caucho.amber.manager.AmberConnection com.caucho.amber.manager.AmberEntityManager
AmberEntityManager | public class AmberEntityManager extends AmberConnection implements EntityManager(Code) | | The entity manager from a entity manager proxy.
|
AmberEntityManager | AmberEntityManager(AmberPersistenceUnit persistenceUnit, boolean isAppManaged)(Code) | | Creates a manager instance.
|
Methods inherited from com.caucho.amber.manager.AmberConnection | public void addCompletion(AmberCompletion completion)(Code)(Java Doc) public void addEntity(Entity entity)(Code)(Java Doc) public Entity addNewEntity(Class cl, Object key) throws InstantiationException, IllegalAccessException(Code)(Java Doc) public void afterCommit(boolean isCommit)(Code)(Java Doc) public void afterCompletion(int status)(Code)(Java Doc) public void beforeCommit() throws SQLException(Code)(Java Doc) public void beforeCompletion()(Code)(Java Doc) public void begin(Transaction xa)(Code)(Java Doc) public void beginTransaction() throws SQLException(Code)(Java Doc) public void cleanup()(Code)(Java Doc) public void clear()(Code)(Java Doc) public void close()(Code)(Java Doc) public static void close(ResultSet rs)(Code)(Java Doc) public void closeStatement(String sql) throws SQLException(Code)(Java Doc) public void commit() throws SQLException(Code)(Java Doc) public boolean contains(Object obj)(Code)(Java Doc) public void create(Object obj) throws SQLException(Code)(Java Doc) public void create(String homeName, Object obj) throws SQLException(Code)(Java Doc) public void create(AmberEntityHome home, Object obj) throws SQLException(Code)(Java Doc) public Query createNamedQuery(String name)(Code)(Java Doc) public Query createNativeQuery(String sql)(Code)(Java Doc) public Query createNativeQuery(String sql, String map)(Code)(Java Doc) public Query createNativeQuery(String sql, Class type)(Code)(Java Doc) public Query createQuery(String sql)(Code)(Java Doc) public void delete(Entity entity) throws SQLException(Code)(Java Doc) public void detach()(Code)(Java Doc) public void expire() throws SQLException(Code)(Java Doc) public void finalize()(Code)(Java Doc) public T find(Class<T> entityClass, Object primaryKey)(Code)(Java Doc) public List find(String hsql) throws SQLException(Code)(Java Doc) public EntityItem findEntityItem(String name, Object key)(Code)(Java Doc) public void flush()(Code)(Java Doc) public void flushNoChecks()(Code)(Java Doc) public void freeConnection()(Code)(Java Doc) public AmberPersistenceUnit getAmberManager()(Code)(Java Doc) public int getCacheChunkSize()(Code)(Java Doc) public Entity getCacheEntity(Entity entity)(Code)(Java Doc) public Entity getCacheEntity(Entity entity, boolean isDebug)(Code)(Java Doc) public Entity getCacheEntity(Class cl, Object pk)(Code)(Java Doc) public Entity getCacheEntity(Class cl, Object pk, boolean isDebug)(Code)(Java Doc) public Connection getConnection() throws SQLException(Code)(Java Doc) public Object getDelegate()(Code)(Java Doc) public Entity getEntity(EntityItem item)(Code)(Java Doc) public Entity getEntity(String className, Object key)(Code)(Java Doc) public Entity getEntity(int index)(Code)(Java Doc) public Entity getEntity(Class cl, Object key)(Code)(Java Doc) public Entity getEntity(Entity entity)(Code)(Java Doc) public Entity getEntityLazy(EntityItem item)(Code)(Java Doc) public FlushModeType getFlushMode()(Code)(Java Doc) public AmberPersistenceUnit getPersistenceUnit()(Code)(Java Doc) public ResultSetCacheChunk getQueryCacheChunk(String sql, Object[] args, int startRow)(Code)(Java Doc) public ResultSetMetaData getQueryMetaData()(Code)(Java Doc) public T getReference(Class<T> entityClass, Object primaryKey) throws EntityNotFoundException, IllegalArgumentException(Code)(Java Doc) public Entity getSubEntity(Class cl, Object key)(Code)(Java Doc) public EntityItem getSubEntityCacheItem(Class cl, Object key)(Code)(Java Doc) public EntityTransaction getTransaction()(Code)(Java Doc) public Entity getTransactionEntity(String className, Object key)(Code)(Java Doc) public Entity getTransactionEntity(int index)(Code)(Java Doc) public void initJta()(Code)(Java Doc) public void initThreadConnection()(Code)(Java Doc) public boolean isActiveTransaction()(Code)(Java Doc) public boolean isCacheEntity(Entity entity)(Code)(Java Doc) public boolean isInTransaction()(Code)(Java Doc) public boolean isJPA()(Code)(Java Doc) public boolean isOpen()(Code)(Java Doc) public void joinTransaction()(Code)(Java Doc) public Object load(Class cl, Object key, boolean isEager) throws AmberException(Code)(Java Doc) public Object load(String entityName, Object key) throws AmberException(Code)(Java Doc) public Object load(Class cl, long intKey) throws AmberException(Code)(Java Doc) public EntityItem loadCacheItem(Class cl, Object key, AmberEntityHome entityHome) throws AmberException(Code)(Java Doc) public Entity loadEntity(Class cl, Object key, boolean isEager)(Code)(Java Doc) public Entity loadFromHome(String name, Object key)(Code)(Java Doc) public Entity loadLazy(Class cl, String name, Object key)(Code)(Java Doc) public Entity loadLazy(String className, String name, Object key)(Code)(Java Doc) public Object loadLazy(Class cl, long intKey) throws AmberException(Code)(Java Doc) public Object loadProxy(String name, Object key)(Code)(Java Doc) public Object loadProxy(EntityType type, Object key)(Code)(Java Doc) public Object loadProxy(EntityItem entityItem)(Code)(Java Doc) public void lock(Object entity, LockModeType lockMode)(Code)(Java Doc) public Object makePersistent(Object obj) throws SQLException(Code)(Java Doc) public void makeTransactional(Entity entity)(Code)(Java Doc) public T merge(T entityT)(Code)(Java Doc) public Entity mergeDetachedEntity(Entity entity, boolean isFullMerge)(Code)(Java Doc) public AbstractQuery parseQuery(String sql, boolean isLazy) throws AmberException(Code)(Java Doc) public void persist(Object entityObject)(Code)(Java Doc) public void persistFromCascade(Object o)(Code)(Java Doc) public void popDepth()(Code)(Java Doc) public PreparedStatement prepareInsertStatement(String sql) throws SQLException(Code)(Java Doc) public AmberQuery prepareLazyQuery(String queryString) throws AmberException(Code)(Java Doc) public AmberQuery prepareQuery(String queryString) throws AmberException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql) throws SQLException(Code)(Java Doc) public AmberQuery prepareUpdate(String queryString) throws AmberException(Code)(Java Doc) public void pushDepth()(Code)(Java Doc) public void putQueryCacheChunk(String sql, Object[] args, int startRow, ResultSetCacheChunk cacheChunk, ResultSetMetaData cacheMetaData)(Code)(Java Doc) public ResultSet query(String hsql) throws SQLException(Code)(Java Doc) public T recursiveMerge(T entityT)(Code)(Java Doc) public void refresh(Object entity)(Code)(Java Doc) void register()(Code)(Java Doc) public void register(AmberCollection query)(Code)(Java Doc) public void remove(Object entity)(Code)(Java Doc) public boolean removeEntity(Entity entity)(Code)(Java Doc) public void rollback() throws SQLException(Code)(Java Doc) public EntityItem setEntityItem(String name, Object key, EntityItem item)(Code)(Java Doc) public void setExtended(boolean isExtended)(Code)(Java Doc) public void setFlushMode(FlushModeType mode)(Code)(Java Doc) public void setTransactionalState(Entity entity)(Code)(Java Doc) public void setXA(boolean isXA)(Code)(Java Doc) public boolean shouldRetrieveFromCache()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void update(Object obj)(Code)(Java Doc) public void update(Entity entity)(Code)(Java Doc) public int update(String hsql) throws SQLException(Code)(Java Doc)
|
|
|