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.support.persistence.MyEntity</class>
11 <property name="toplink.ddl-generation"
12 value="drop-and-create-tables" />
14 <!-- <property name="toplink.ddl-generation" value="none" /> -->
15 <property name="toplink.ddl-generation" value="create-tables" />
18 <property name="toplink.create-ddl-jdbc-file-name"
19 value="create_tm_ddl.jdbc" />
22 <property name="toplink.drop-ddl-jdbc-file-name"
23 value="drop_tm_ddl.jdbc" />
26 <property name="toplink.logging.level" value="INFO" />
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
32 http://www.oracle.com/technology/products/ias/toplink/JPA/essentials/toplink-jpa-extensions.html#TopLinkCaching
33 for information on these toplink caching properties.
35 <property name="toplink.cache.shared.default" value="false" />