Exceptions pertaining to data access

All enterprise bean container-managed persistence (CMP) beans under the EJB 2.x specification receive a standard EJB exception when an operation fails.

JDBC applications receive a standard SQL exception if any JDBC operation fails.

The product provides special exceptions for its relational resource adapter (RRA), to indicate that the connection currently held is no longer valid.



Subtopics
Stale connections
Example: Handling data access exception - ConnectionWaitTimeoutException (for the JDBC API)
Example: Handling data access exception - ConnectionWaitTimeoutException (for J2EE Connector Architecture)
Example: Handling data access exception - error mapping in DataStoreHelper
Database deadlock and foreign key conflicts
Related concepts
Data sources
Resource adapters
Related reference
Connection considerations when migrating servlets, JavaServer Pages, or enterprise session beans
JDBC trace configuration
Connection pool settings
Connection pool (Version 4) settings
Concept topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 6:22:59 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-express-dist&topic=daexcp
File name: cdat_daexcp.html