You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.2 KiB
24 lines
1.2 KiB
<?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:p="http://www.springframework.org/schema/p"
|
|
xmlns:c="http://www.springframework.org/schema/c"
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
http://www.springframework.org/schema/util
|
|
http://www.springframework.org/schema/util/spring-util.xsd
|
|
http://www.springframework.org/schema/context
|
|
http://www.springframework.org/schema/context/spring-context.xsd
|
|
">
|
|
<context:property-placeholder location="classpath:jdbc.properties"/>
|
|
|
|
<bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource">
|
|
<property name="username" value="${jdbc_username}"></property>
|
|
<property name="password" value="${jdbc_password}"></property>
|
|
<property name="url" value="${jdbc_url}"></property>
|
|
<property name="driverClassName" value="${jdbc_driver}"></property>
|
|
</bean>
|
|
|
|
</beans> |