com.ibatis.sqlmap.client
Class SqlMapClientBuilder

java.lang.Object
  extended bycom.ibatis.sqlmap.client.SqlMapClientBuilder

public class SqlMapClientBuilder
extends java.lang.Object

Builds SqlMapClient instances from a supplied resource (e.g. XML configuration file)

The SqlMapClientBuilder class is responsible for parsing configuration documents and building the SqlMapClient instance. Its current implementation works with XML configuration files (e.g. sql-map-config.xml).

Example:

 Reader reader = Resources.getResourceAsReader("properties/sql-map-config.xml");
 SqlMapClient client = SqlMapClientBuilder.buildSqlMapClient (reader);
 

Examples of the XML document structure used by SqlMapClientBuilder can be found at the links below.

Note: They might look big, but they're mostly comments!