META-INF.persistence.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdbc Show documentation
Show all versions of jdbc Show documentation
jdbc implementation for directories needed by bounceproxy controller
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!-- #%L %% Copyright (C) 2011 - 2017 BMW Car IT GmbH %% 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. #L% --> <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="BpcPU" transaction-type="RESOURCE_LOCAL"> <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider> <class>io.joynr.messaging.bounceproxy.controller.directory.jdbc.entities.BounceProxyEntity</class> <class>io.joynr.messaging.bounceproxy.controller.directory.jdbc.entities.BounceProxyInformationEntity</class> <class>io.joynr.messaging.bounceproxy.controller.directory.jdbc.entities.ChannelEntity</class> <properties> <property name="openjpa.ConnectionDriverName" value="org.apache.derby.jdbc.EmbeddedDriver" /> <property name="openjpa.ConnectionURL" value="jdbc:derby:memory:memdatabase;create=true" /> <property name="openjpa.ConnectionUserName" value="APP" /> <property name="openjpa.ConnectionPassword" value="APP" /> <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema" /> </properties> </persistence-unit> </persistence>