| <?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"> | |
| <jta-data-source>jdbc/__default</jta-data-source> | |
| <properties> | |
| <!-- drop and create tables at deployment --> | |
| <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/> | |
| <!-- log sqls executed in server.log --> | |
| <property name="eclipselink.logging.level" value="FINE"/> | |
| <!-- Instruct EclipseLink to not log execeptions it throws. Lets the application decide about it--> | |
| <property name="eclipselink.logging.exceptions" value="false"/> | |
| </properties> | |
| </persistence-unit> | |
| </persistence> |