Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<beans xmlns="http://www.springframework.org/schema/beans"
3
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4
	xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"
5
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
6
		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
7
		http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
8
		
9
	<bean id="claimsJdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate"
10
		p:dataSource-ref="claimsDatasource"/>
11

    
12
	<bean id="claimsDatasource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
13
		<property name="driverClassName" value="org.postgresql.Driver"/>
14
		<property name="url" value="${dnet.openaire.claims.db.url}"/>
15
		<property name="username" value="${dnet.openaire.claims.db.username}"/>
16
		<property name="password" value="${dnet.openaire.claims.db.password}"/>
17
	</bean>
18
</beans>
(1-1/2)