alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Spring Framework example source code file (persistence-example4.xml)

This example Spring Framework source code file (persistence-example4.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Spring Framework tags/keywords

ordermanagement4, ordermanagement4, resource_local, resource_local

The Spring Framework persistence-example4.xml source code

<persistence xmlns="http://java.sun.com/xml/ns/persistence"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
	version="1.0">

	<persistence-unit name="OrderManagement4"
		transaction-type="RESOURCE_LOCAL">
		<non-jta-data-source>jdbc/MyDB
		<mapping-file>order-mappings.xml

		<class>com.acme.Order		
		<class>com.acme.Customer
		<class>com.acme.Item
		<exclude-unlisted-classes />
		
	</persistence-unit>

</persistence>

Other Spring Framework examples (source code examples)

Here is a short list of links related to this Spring Framework persistence-example4.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

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.