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 2008/04/07 20:58:06 UTC
svn commit: r645644 - in /activemq/camel/trunk: components/camel-jpa/pom.xml
components/camel-jpa/src/main/resources/META-INF/persistence.xml pom.xml
Author: davsclaus
Date: Mon Apr 7 11:57:54 2008
New Revision: 645644
URL: http://svn.apache.org/viewvc?rev=645644&view=rev
Log:
CAMEL-448 updated to OpenJPA 1.0.2
Added:
activemq/camel/trunk/components/camel-jpa/src/main/resources/META-INF/persistence.xml
Modified:
activemq/camel/trunk/components/camel-jpa/pom.xml
activemq/camel/trunk/pom.xml
Modified: activemq/camel/trunk/components/camel-jpa/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jpa/pom.xml?rev=645644&r1=645643&r2=645644&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jpa/pom.xml (original)
+++ activemq/camel/trunk/components/camel-jpa/pom.xml Mon Apr 7 11:57:54 2008
@@ -139,12 +139,14 @@
<fileset dir="${basedir}/target/classes">
<include name="org/apache/camel/processor/**/M*.class"/>
</fileset>
+ <config propertiesFile="${basedir}/src/main/resources/META-INF/persistence.xml"/>
</openjpac>
<openjpac directory="${basedir}/target/jpa-test-classes">
<classpath refid="cp"/>
<fileset dir="${basedir}/target/test-classes">
<include name="org/apache/camel/examples/*.class"/>
</fileset>
+ <config propertiesFile="${basedir}/src/main/resources/META-INF/persistence.xml"/>
</openjpac>
<copy overwrite="true" todir="${basedir}/target/classes">
Added: activemq/camel/trunk/components/camel-jpa/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jpa/src/main/resources/META-INF/persistence.xml?rev=645644&view=auto
==============================================================================
--- activemq/camel/trunk/components/camel-jpa/src/main/resources/META-INF/persistence.xml (added)
+++ activemq/camel/trunk/components/camel-jpa/src/main/resources/META-INF/persistence.xml Mon Apr 7 11:57:54 2008
@@ -0,0 +1,25 @@
+<?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.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ version="1.0">
+
+ <persistence-unit name="camel-jpa" transaction-type="RESOURCE_LOCAL">
+ <class>org.apache.camel.processor.idempotent.jpa.MessageProcessed</class>
+ </persistence-unit>
+
+</persistence>
Modified: activemq/camel/trunk/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/pom.xml?rev=645644&r1=645643&r2=645644&view=diff
==============================================================================
--- activemq/camel/trunk/pom.xml (original)
+++ activemq/camel/trunk/pom.xml Mon Apr 7 11:57:54 2008
@@ -43,7 +43,7 @@
<httpcore-version>4.0-alpha6</httpcore-version>
<jetty-version>6.1.7</jetty-version>
<slf4j-version>1.3.0</slf4j-version>
- <openjpa-version>0.9.6-incubating</openjpa-version>
+ <openjpa-version>1.0.2</openjpa-version>
<spring-version>2.5.3</spring-version>
<mina-version>1.1.6</mina-version>
<uface-version>1.0-m1</uface-version>