|
Spring Framework example source code file (ConcreteTransactionalTestNGSpringContextTests-context.xml)
The Spring Framework ConcreteTransactionalTestNGSpringContextTests-context.xml source code<?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" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> <bean id="employee" class="org.springframework.beans.Employee"> <property name="name" value="John Smith" /> <property name="age" value="42" /> <property name="company" value="Acme Widgets, Inc." /> </bean> <bean id="pet" class="org.springframework.beans.Pet"> <constructor-arg value="Fido" /> </bean> <bean id="foo" class="java.lang.String"> <constructor-arg value="Foo" /> </bean> <bean id="bar" class="java.lang.String"> <constructor-arg value="Bar" /> </bean> <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" p:driverClassName="org.hsqldb.jdbcDriver" p:url="jdbc:hsqldb:mem:transactional_tests" p:username="sa" p:password="" /> <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager" p:data-source-ref="dataSource" /> <bean id="databaseSetup" class="org.springframework.test.context.testng.ConcreteTransactionalTestNGSpringContextTests$DatabaseSetup" /> </beans> Other Spring Framework examples (source code examples)Here is a short list of links related to this Spring Framework ConcreteTransactionalTestNGSpringContextTests-context.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.