|
|
@ -20,11 +20,20 @@
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
</bean>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<bean id="databaseIdProvider" class="org.apache.ibatis.mapping.VendorDatabaseIdProvider">
|
|
|
|
|
|
|
|
<property name="properties">
|
|
|
|
|
|
|
|
<props>
|
|
|
|
|
|
|
|
<prop key="Oracle">oracle</prop>
|
|
|
|
|
|
|
|
<prop key="MariaDB">mariadb</prop>
|
|
|
|
|
|
|
|
</props>
|
|
|
|
|
|
|
|
</property>
|
|
|
|
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
|
|
|
|
<bean id="sqlSession" class="org.mybatis.spring.SqlSessionFactoryBean"
|
|
|
|
<bean id="sqlSession" class="org.mybatis.spring.SqlSessionFactoryBean"
|
|
|
|
p:dataSource-ref="dataSource"
|
|
|
|
p:dataSource-ref="dataSource"
|
|
|
|
p:configLocation="classpath:sql/mybatis-config.xml"
|
|
|
|
p:configLocation="classpath:sql/mybatis-config.xml"
|
|
|
|
p:mapperLocations="classpath:sql/mapper/**/*.xml"
|
|
|
|
p:mapperLocations="classpath:sql/mapper/**/*.xml"
|
|
|
|
/>
|
|
|
|
p:databaseIdProvider-ref="databaseIdProvider"/>
|
|
|
|
|
|
|
|
|
|
|
|
<bean id="mapperConfigurer" class="org.egovframe.rte.psl.dataaccess.mapper.MapperConfigurer">
|
|
|
|
<bean id="mapperConfigurer" class="org.egovframe.rte.psl.dataaccess.mapper.MapperConfigurer">
|
|
|
|
<property name="basePackage" value="cokr.xit" />
|
|
|
|
<property name="basePackage" value="cokr.xit" />
|
|
|
|