Java Reference
In-Depth Information
Figure 3-1. Common exception classes in the DataAccessException hierarchy
How It Works
Understanding Exception Handling in the Spring JDBC Framework
Until now, you haven't handled JDBC exceptions explicitly when using a JDBC template or JDBC
operation objects. To help you understand the Spring JDBC framework's exception-handling
mechanism, let's consider the following code fragment in the Main class, which inserts a vehicle.
What happens if you insert a vehicle with a duplicate vehicle number?
Search WWH ::

Custom Search