Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Class SqlMapClientBuilder  view SqlMapClientBuilder download

  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).


 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!