Hi, I see *sql-map-config.xml *file under resources folder which has below
content..

Could anyone please help what is the purpose of this file? I am using
struts2 basic archtype.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map Config
2.0//EN"
    "http://ibatis.apache.org/dtd/sql-map-config-2.dtd";>

<sqlMapConfig>
    <settings enhancementEnabled="true" maxTransactions="20"
        maxRequests="32" maxSessions="10"/>

    <!-- Identify all SQL Map XML files to be loaded by this SQL map.
Relative to classpath -->
    <sqlMap resource="sqlmaps/LookupSQL.xml"/>
    <sqlMap resource="sqlmaps/RoleSQL.xml"/>
    <sqlMap resource="sqlmaps/UserSQL.xml"/>
</sqlMapConfig>

Reply via email to