jporm-test-databases.3.5.1.source-code.spring-context-derby.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
<!-- BEGIN - DERBY DIRECT DATASOURCE IMPLEMENTATION -->
<bean id="derbyDataSource" class="com.jpattern.orm.connection.DataSourceWrapper">
<constructor-arg><ref bean="derbyDataSourceReal"/></constructor-arg>
</bean>
<bean id="derbyDataSourceReal" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="${derby.jdbc.driverClassName}"/>
<property name="url" value="${derby.jdbc.url}"/>
<property name="username" value="${derby.jdbc.username}"/>
<property name="password" value="${derby.jdbc.password}"/>
<property name="defaultAutoCommit" value="false"/>
</bean>
<!-- END - DERBY DIRECT DATASOURCE IMPLEMENTATION -->
</beans> © 2015 - 2025 Weber Informatics LLC | Privacy Policy