at the head of it all
The SQL Map configuration file
The SQL Map configuration file ( SqlMapConfig.xml ) is the central hub for config-
uring i BATIS , as you can see in the conceptual diagram in figure 3.1. Everything
from the database connection to the actual SqlMap s to be used is supplied to the
framework by this file.
The main configuration file is commonly named SqlMapConfig.xml .
Although it does not have to use that name, we will follow the convention
Listing 3.1 shows an example configuration file that we will discuss in the follow-
<?xml version="1.0" encoding="UTF-8" ?>
PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"