<?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-2.5.xsd">
<!-- Oracle DataSource 설정 -->
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="net.sf.log4jdbc.DriverSpy"/>
<property name="url" value="jdbc:log4jdbc:oracle:thin:@ip:1523:DMCED"/>
<property name="username" value=""/>
<property name="password" value=""/>
<property name="defaultAutoCommit" value="false"/>
<property name="maxIdle" value="10"/>
<property name="maxActive" value="30"/>
</bean>
<bean id="dataSourceForIdGen" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close" autowire-candidate="false">
<property name="driverClassName" value="net.sf.log4jdbc.DriverSpy"/>
<property name="url" value="jdbc:log4jdbc:oracle:thin:@ip:1523:DMCED"/>
<property name="username" value=""/>
<property name="password" value=""/>
<property name="defaultAutoCommit" value="false"/>
</bean>
<bean id="GeduTech.dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="net.sf.log4jdbc.DriverSpy"/>
<property name="url" value="jdbc:log4jdbc:oracle:thin:@ip:1523:DMCED"/>
<property name="username" value=""/>
<property name="password" value=""/>
<property name="defaultAutoCommit" value="false"/>
</bean>
<!-- 교육지표 테스트 -->
<bean id="dataSourceProd" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="net.sf.log4jdbc.DriverSpy"/>
<property name="url" value="jdbc:log4jdbc:oracle:thin:@ip:1521:DMCE"/>
<property name="username" value=""/>
<property name="password" value=""/>
<property name="defaultAutoCommit" value="false"/>
<property name="maxIdle" value="10"/>
<property name="maxActive" value="30"/>
</bean>
<!-- 교육지표 테스트 -->
</beans>
댓글 없음:
댓글 쓰기