You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2012/04/20 18:50:21 UTC
svn commit: r1328446 -
/camel/trunk/components/camel-jpa/src/test/resources/META-INF/persistence.xml
Author: davsclaus
Date: Fri Apr 20 16:50:21 2012
New Revision: 1328446
URL: http://svn.apache.org/viewvc?rev=1328446&view=rev
Log:
Using jpa 2.0 schema
Modified:
camel/trunk/components/camel-jpa/src/test/resources/META-INF/persistence.xml
Modified: camel/trunk/components/camel-jpa/src/test/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jpa/src/test/resources/META-INF/persistence.xml?rev=1328446&r1=1328445&r2=1328446&view=diff
==============================================================================
--- camel/trunk/components/camel-jpa/src/test/resources/META-INF/persistence.xml (original)
+++ camel/trunk/components/camel-jpa/src/test/resources/META-INF/persistence.xml Fri Apr 20 16:50:21 2012
@@ -1,25 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2006 The Apache Software Foundation.
-
- 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.
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You 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 xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- version="1.0"
- xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
+ version="2.0"
+ xsi:schemaLocation="
+ http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
- <persistence-unit name="camel" transaction-type="RESOURCE_LOCAL">
+ <persistence-unit name="camel" transaction-type="RESOURCE_LOCAL">
<!--
The default provider can be OpenJPA, or some other product.
This element is optional if OpenJPA is the only JPA provider
@@ -56,7 +58,7 @@
</properties>
</persistence-unit>
- <!-- START SNIPPET: e1 -->
+ <!-- START SNIPPET: e1 -->
<persistence-unit name="idempotentDb" transaction-type="RESOURCE_LOCAL">
<class>org.apache.camel.processor.idempotent.jpa.MessageProcessed</class>
@@ -67,9 +69,9 @@
<property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO"/>
</properties>
</persistence-unit>
- <!-- END SNIPPET: e1 -->
+ <!-- END SNIPPET: e1 -->
- <!-- START SNIPPET: e2 -->
+ <!-- START SNIPPET: e2 -->
<persistence-unit name="trace" transaction-type="RESOURCE_LOCAL">
<class>org.apache.camel.processor.interceptor.jpa.JpaTraceEventMessage</class>
@@ -80,6 +82,6 @@
<property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO"/>
</properties>
</persistence-unit>
- <!-- END SNIPPET: e2 -->
+ <!-- END SNIPPET: e2 -->
</persistence>