blob: cd2b899e563b97fc3156b80893908171b89f26b4 [file] [log] [blame]
<!--
Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
<persistence-unit name="default" transaction-type="RESOURCE_LOCAL">
<provider>oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider</provider>
<class>oracle.toplink.essentials.testing.models.cmp3.advanced.Address</class>
<class>oracle.toplink.essentials.testing.models.cmp3.advanced.Employee</class>
<class>oracle.toplink.essentials.testing.models.cmp3.advanced.EmploymentPeriod</class>
<class>oracle.toplink.essentials.testing.models.cmp3.advanced.LargeProject</class>
<class>oracle.toplink.essentials.testing.models.cmp3.advanced.PhoneNumber</class>
<class>oracle.toplink.essentials.testing.models.cmp3.advanced.Project</class>
<class>oracle.toplink.essentials.testing.models.cmp3.advanced.SmallProject</class>
<properties>
<property name="toplink.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>
<property name="toplink.jdbc.url" value="jdbc:derby://localhost:1527/testdb;retrieveMessagesFromServerOnGetMessage=true;"/>
<property name="toplink.jdbc.user" value="dbuser"/>
<property name="toplink.jdbc.password" value="dbpassword"/>
<property name="toplink.logging.level" value="INFO"/>
<property name="toplink.ddl-generation" value="drop-and-create-tables"/>
</properties>
</persistence-unit>
</persistence>