IBM WebSphere Extended Deployment (XD)TM, Release 6.1
ObjectGrid API Specification

Package com.ibm.websphere.objectgrid.em

This package contains the primary interfaces for the EntityManager.

See:
          Description

Interface Summary
EntityManager An EntityManager allows transactional introspection and manipulation of entities.
EntityTransaction An EntityTransaction is associated with an EntityManager and is used to demarcate a transaction.
Query Interface used to control entity query execution.
 

Class Summary
FlushModeType Used to specify when the flush behavior of an EntityManager query when running within a transaction.
 

Exception Summary
EntityExistsException Thrown when an entity can't be persisted because it would result in a duplicate key violation.
NonUniqueResultException Thrown when Query.getSingleResult() is invoked and there is more than one result from the query.
NoResultException Thrown when Query.getSingleResult() is invoked and there is no result to return.
PersistenceException Thrown by the EntityManager when a problem occurs.
RollbackException Thrown when EntityTransaction.commit() fails.
TransactionRequiredException Thrown when a transaction is required but not active.
 

Package com.ibm.websphere.objectgrid.em Description

This package contains the primary interfaces for the EntityManager.

Overview

The EntityManager API allows simplified access to the ObjectGrid data cache. Java classes are described using annotations or XML as entities. Entities are Java objects that contain persistable attributes and relationships to other entities. The entities can be persisted into the cache and queried using the ObjectGrid Query Language.


IBM WebSphere Extended Deployment (XD)TM, Release 6.1
ObjectGrid API Specification

© Copyright International Business Machines Corp 2005-2007. All rights reserved.