dpg_backend/target/classes/egovframework/spring/context-mapper.xml
2024-06-05 20:58:28 +09:00

20 lines
1.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
<!-- SqlSession setup for MyBatis Database Layer -->
<bean id="sqlSession" class="org.mybatis.spring.SqlSessionFactoryBean">
<property name="dataSource" ref="dataSource" />
<property name="configLocation" value="classpath:/egovframework/sqlmap/mtdata/sql-mapper-config.xml" />
<property name="mapperLocations" value="classpath:/egovframework/sqlmap/mtdata/mappers/**/*.xml" />
<!-- <list> -->
<!-- <value>classpath:/egovframework/*/sqlmap/*.xml</value> -->
<!-- </list> -->
</bean>
<!-- MapperConfigurer setup for MyBatis Database Layer with @Mapper("deptMapper") i n DeptMapper Interface -->
<bean class="org.egovframe.rte.psl.dataaccess.mapper.MapperConfigurer">
<property name="basePackage" value="egovframework.com.mtdata.**.mapper" />
</bean>
</beans>