|
|
|
@ -20,11 +20,20 @@
|
|
|
|
|
-->
|
|
|
|
|
</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"
|
|
|
|
|
p:dataSource-ref="dataSource"
|
|
|
|
|
p:configLocation="classpath:sql/mybatis-config.xml"
|
|
|
|
|
p:mapperLocations="classpath:sql/mapper/**/*.xml"
|
|
|
|
|
/>
|
|
|
|
|
p:databaseIdProvider-ref="databaseIdProvider"/>
|
|
|
|
|
|
|
|
|
|
<bean id="mapperConfigurer" class="org.egovframe.rte.psl.dataaccess.mapper.MapperConfigurer">
|
|
|
|
|
<property name="basePackage" value="cokr.xit" />
|
|
|
|
|