tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlmonte...@apache.org
Subject svn commit: r810073 - in /openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1: ./ META-INF/ META-INF/footest.persistence.xml META-INF/persistence.xml META-INF/test.ejb-jar.xml META-INF/test.persistence.xml
Date Tue, 01 Sep 2009 14:31:17 GMT
Author: jlmonteiro
Date: Tue Sep  1 14:31:16 2009
New Revision: 810073

URL: http://svn.apache.org/viewvc?rev=810073&view=rev
Log:
OPENEJB-1059: altdd support seems broken for persistence.xml files 
Actually the related bug is fixed but we still have to find a way to avoid duplicate log lines
like
AltDD XXX -> YYY

I tried to create a logger holding recent messages but i'm facing a problem while undeploying/deploying
an application because the warn does not appear anymore.

Added:
    openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/
    openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/
    openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/footest.persistence.xml
    openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/persistence.xml
    openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/test.ejb-jar.xml
    openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/test.persistence.xml

Added: openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/footest.persistence.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/footest.persistence.xml?rev=810073&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/footest.persistence.xml
(added)
+++ openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/footest.persistence.xml
Tue Sep  1 14:31:16 2009
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+-->
+<!-- START SNIPPET: code -->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
+
+  <persistence-unit name="footest-unit">
+    <jta-data-source>movieDatabase</jta-data-source>
+    <properties>
+      <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
+    </properties>
+  </persistence-unit>
+</persistence>
+<!-- END SNIPPET: code -->

Added: openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/persistence.xml?rev=810073&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/persistence.xml
(added)
+++ openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/persistence.xml
Tue Sep  1 14:31:16 2009
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+-->
+<!-- START SNIPPET: code -->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
+
+  <persistence-unit name="unit">
+    <jta-data-source>movieDatabase</jta-data-source>
+    <properties>
+      <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
+    </properties>
+  </persistence-unit>
+</persistence>
+<!-- END SNIPPET: code -->

Added: openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/test.ejb-jar.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/test.ejb-jar.xml?rev=810073&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/test.ejb-jar.xml
(added)
+++ openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/test.ejb-jar.xml
Tue Sep  1 14:31:16 2009
@@ -0,0 +1,8 @@
+<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0" metadata-complete="false">
+  <enterprise-beans>
+    <session>
+      <ejb-name>OrangeBean</ejb-name>
+      <ejb-class>org.superbiz.altdd.Orange</ejb-class>
+    </session>
+  </enterprise-beans>
+</ejb-jar>

Added: openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/test.persistence.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/test.persistence.xml?rev=810073&view=auto
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/test.persistence.xml
(added)
+++ openejb/trunk/openejb3/container/openejb-core/src/test/resources/altddPU1/META-INF/test.persistence.xml
Tue Sep  1 14:31:16 2009
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+-->
+<!-- START SNIPPET: code -->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
+
+  <persistence-unit name="test-unit">
+    <jta-data-source>movieDatabase</jta-data-source>
+    <properties>
+      <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(ForeignKeys=true)"/>
+    </properties>
+  </persistence-unit>
+</persistence>
+<!-- END SNIPPET: code -->



Mime
View raw message