You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.8 KiB
XML
35 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans:beans xmlns="http://www.springframework.org/schema/mvc" xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:beans="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd
|
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
|
|
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
|
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
|
|
|
|
|
|
|
|
|
|
<beans:bean id="sqlSession" class="org.mybatis.spring.SqlSessionFactoryBean">
|
|
<beans:property name="dataSource" ref="dataSource"></beans:property>
|
|
<beans:property name="configLocation" value="classpath:/egovframework/sqlmap/gtpabrs/sql-mapper-config.xml"></beans:property>
|
|
<beans:property name="mapperLocations" value="classpath:/egovframework/sqlmap/gtpabrs/mappers/*.xml" />
|
|
</beans:bean>
|
|
<!--
|
|
<beans:bean id="sqlSession" class="org.mybatis.spring.SqlSessionTemplate">
|
|
<beans:constructor-arg index="0" ref="sqlSessionFactory" />
|
|
</beans:bean>
|
|
-->
|
|
|
|
<!-- MapperConfigurer setup for MyBatis Database Layer with @Mapper("deptMapper") in DeptMapper Interface -->
|
|
<beans:bean class="egovframework.rte.psl.dataaccess.mapper.MapperConfigurer">
|
|
<beans:property name="basePackage" value="gtpa.brs.openapi.service.impl" />
|
|
</beans:bean>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</beans:beans> |