Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop Data access resources > Develop data access applications
Change the error detection model to use the Exception Checking Model
The error detection model has been expanded and the data source has a configuration option that you can use to select the exception mapping model or the exception checking model for error detection. This configuration option allows the Error Detection Model to comply with JDBC 4.0.
By default, the exception mapping Error Detection Model configuration is selected. The exception mapping Error Detection Model replaces some exceptions raised by the JDBC driver. Exception checking does not do this. To use this configuration, no changes are needed. To use the exception checking model, you need to configure the error detection model in the application server. If you previously changed the Error Detection Model, you can also use these steps to change the configuration back to using to the exception mapping model.
Procedure
- Open the admin console.
- Go to the WAS Data Source properties panel for the data source.
- Select Resources > JDBC > Data Sources > data_source
- Select WAS Data Source properties.
- In the Error Detection Model > Use the WAS Exception Checking Model.