in bean configuration file:
<bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
    <property name="configLocation">
      <value>sql-map-config.xml</value>
    </property>
 </bean>

Is there a way not use sql-map-config.xml file but sql-map.xml file like the following directly?

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd";>

<sqlMap namespace="Misc">
...
</sqlMap>

-Henry

Reply via email to