ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Lu <z...@umich.edu>
Subject ibatis and spring
Date Thu, 17 Apr 2008 13:58:38 GMT
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

Mime
View raw message