All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jporm-test-base-db-script.5.0.0-rc2.source-code.spring-context-oracle.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.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.xsd
           http://www.springframework.org/schema/tx 
           http://www.springframework.org/schema/tx/spring-tx.xsd">

    
    <!-- BEGIN - ORACLE DIRECT DATASOURCE IMPLEMENTATION -->
    <bean id="oracleTransactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager" lazy-init="true">
		<property name="dataSource" ref="oracleDataSource"/>
	</bean>
	
    <bean id="oracleDataSource" class="org.apache.commons.dbcp.BasicDataSource" lazy-init="true">
        <property name="driverClassName" value="${oracle.jdbc.driverClassName}"/>
        <property name="url" value="${oracle.jdbc.url}"/>
        <property name="username" value="${oracle.jdbc.username}"/>
        <property name="password" value="${oracle.jdbc.password}"/>
        <property name="defaultAutoCommit" value="false"/>
    </bean>
    <!-- END - ORACLE DIRECT DATASOURCE IMPLEMENTATION -->
     
</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy