package rename for test libraries.
[utils] / test / enterprise / src / test / resources / META-INF / persistence.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <persistence version="1.0"
3         xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
5         <persistence-unit name="org.wamblee.jee.support-test"
6                 transaction-type="JTA">
7                 <jta-data-source>wamblee/support/test</jta-data-source>
8                 <class>org.wamblee.test.persistence.MyEntity</class>
9                 <properties>
10                         <!--
11                                 <property name="toplink.ddl-generation"
12                                 value="drop-and-create-tables" />
13                         -->
14                         <!--  <property name="toplink.ddl-generation" value="none" /> -->
15                         <property name="toplink.ddl-generation" value="create-tables" />
16
17                         <!--
18                                 <property name="toplink.create-ddl-jdbc-file-name"
19                                 value="create_tm_ddl.jdbc" />
20                         -->
21                         <!--
22                                 <property name="toplink.drop-ddl-jdbc-file-name"
23                                 value="drop_tm_ddl.jdbc" />
24                         -->
25
26                         <property name="toplink.logging.level" value="INFO" />
27
28                         <!--
29                                 Toplink 2nd level cache disable for JSROuteRule, this is required so
30                                 that changes made by one instance in a cluster become visible to the
31                                 cluster. See
32                                 http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplink-jpa-extensions.html#TopLinkCaching
33                                 for information on these toplink caching properties.
34                         -->
35                         <property name="toplink.cache.shared.default" value="false" />
36
37                 </properties>
38
39         </persistence-unit>
40 </persistence>