| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved. | |
| This program and the accompanying materials are made available under the | |
| terms of the Eclipse Distribution License v. 1.0, which is available at | |
| http://www.eclipse.org/org/documents/edl-v10.php. | |
| SPDX-License-Identifier: BSD-3-Clause | |
| --> | |
| <persistence version="1.0" 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"> | |
| <persistence-unit name="BookmarkPU" transaction-type="JTA"> | |
| <provider>oracle.toplink.essentials.PersistenceProvider</provider> | |
| <properties> | |
| <property name="toplink.jdbc.url" value="jdbc:derby://localhost:1527/BookmarkDB"/> | |
| <property name="toplink.jdbc.user" value="REST"/> | |
| <property name="toplink.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/> | |
| <property name="toplink.jdbc.password" value="REST"/> | |
| <property name="toplink.ddl-generation" value="drop-and-create-tables"/> | |
| </properties> | |
| </persistence-unit> | |
| </persistence> |