GGWEB/target/MBCA-1.0.0/WEB-INF/classes/egovframework/spring/context-datasource.xml

15 lines
901 B
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"
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-4.0.xsd">
<!-- Mysql -->
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${Global.datasource.driverClassName}"/>
<property name="url" value="${Global.datasource.url}" />
<property name="username" value="${Global.datasource.username}"/>
<property name="password" value="${Global.datasource.password}"/>
</bean>
</beans>