Handling SQL Exceptions

SQL Exception Handling is a mechanism that deals with runtime errors occurring during a database or SQL-related function.

WebLogic maintains a log file named wl-domain in the admin domain directory under a directory called logs. Exceptions that occur while trying to create a connection pool, or MultiPool, and exceptions that occur on server startup, are logged in this file. However, during the course of your application development, many more errors will be occurring. These errors will have to be handled in order to ensure the smooth running of your application.

Exceptions in the case of JDBC applications can be handled at two places, the first being the database end itself, and the second being the application end. It ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.