mirror of
https://github.com/jlengrand/helidon.git
synced 2026-03-10 08:21:17 +00:00
47 lines
2.5 KiB
XML
47 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
-->
|
|
<persistence version="2.2"
|
|
xmlns="http://xmlns.jcp.org/xml/ns/persistence"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
|
|
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_2.xsd">
|
|
<persistence-unit name="test" transaction-type="JTA">
|
|
<class>io.helidon.tests.integration.jpa.model.Type</class>
|
|
<class>io.helidon.tests.integration.jpa.model.Trainer</class>
|
|
<class>io.helidon.tests.integration.jpa.model.Pokemon</class>
|
|
<class>io.helidon.tests.integration.jpa.model.Stadium</class>
|
|
<class>io.helidon.tests.integration.jpa.model.City</class>
|
|
<properties>
|
|
<property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
|
|
<property name="javax.persistence.schema-generation.create-source" value="metadata"/>
|
|
<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
|
|
<property name="hibernate.hbm2ddl.auto" value="none"/>
|
|
<property name="show_sql" value="true"/>
|
|
<!--property name="eclipselink.deploy-on-startup" value="true"/>
|
|
<property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
|
|
<property name="eclipselink.jdbc.native-sql" value="true"/>
|
|
<property name="eclipselink.logging.logger" value="JavaLogger"/>
|
|
<property name="eclipselink.logging.parameters" value="true"/>
|
|
<property name="eclipselink.target-database" value="org.eclipse.persistence.platform.database.H2Platform"/>
|
|
<property name="eclipselink.target-server" value="io.helidon.integrations.cdi.eclipselink.CDISEPlatform"/>
|
|
<property name="eclipselink.weaving" value="false"/-->
|
|
</properties>
|
|
</persistence-unit>
|
|
</persistence>
|