mkalen 2005/03/09 12:27:41
Modified: src/test/org/apache/ojb/otm Tag: OJB_1_0_RELEASE
SwizzleTests.java
. Tag: OJB_1_0_RELEASE release-notes.txt
Log:
Mark failure in OTM SwizzleTests as known issue. Document OTM API beta-state
in release notes.
Revision Changes Path
No revision
No revision
1.15.2.2 +22 -2 db-ojb/src/test/org/apache/ojb/otm/SwizzleTests.java
Index: SwizzleTests.java
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/otm/SwizzleTests.java,v
retrieving revision 1.15.2.1
retrieving revision 1.15.2.2
diff -u -r1.15.2.1 -r1.15.2.2
--- SwizzleTests.java 4 Dec 2004 14:01:08 -0000 1.15.2.1
+++ SwizzleTests.java 9 Mar 2005 20:27:40 -0000 1.15.2.2
@@ -1,10 +1,24 @@
package org.apache.ojb.otm;
+/* Copyright 2002-2004 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.
+ */
+
import java.sql.Timestamp;
import java.util.Collection;
import java.util.Iterator;
-import junit.framework.TestCase;
import org.apache.ojb.broker.Article;
import org.apache.ojb.broker.Contract;
import org.apache.ojb.broker.Effectiveness;
@@ -24,13 +38,15 @@
import org.apache.ojb.otm.core.TransactionException;
import org.apache.ojb.otm.lock.LockType;
import org.apache.ojb.otm.lock.LockingException;
+import org.apache.ojb.junit.OJBTestCase;
/**
* User: Matthew Baird
* Date: Jun 21, 2003
* Time: 3:59:08 PM
+ * @version $Id$
*/
-public class SwizzleTests extends TestCase
+public class SwizzleTests extends OJBTestCase
{
private static Class CLASS = SwizzleTests.class;
private TestKit _kit;
@@ -323,6 +339,10 @@
public void testSwizzle1toN() throws Exception
{
+ if (ojbSkipKnownIssueProblem("OTM-layer has caching issues"))
+ {
+ return;
+ }
clearTestData();
Transaction tx = _kit.getTransaction(_conn);
tx.begin();
No revision
No revision
1.54.2.30 +4 -1 db-ojb/release-notes.txt
Index: release-notes.txt
===================================================================
RCS file: /home/cvs/db-ojb/release-notes.txt,v
retrieving revision 1.54.2.29
retrieving revision 1.54.2.30
diff -u -r1.54.2.29 -r1.54.2.30
--- release-notes.txt 2 Mar 2005 20:32:35 -0000 1.54.2.29
+++ release-notes.txt 9 Mar 2005 20:27:40 -0000 1.54.2.30
@@ -135,6 +135,9 @@
PBStateListener#beforeClose(PBStateEvent event) is made twice (will be
fixed in OJB 1.1) when
a PB instance was closed in a JTA-tx (for the first time when PB.close()
was called in bean, second
time when the JTA-tx completes)
+- otm-api: The OTM API has a known caching issue and should not be
considered for code used
+ in production environments. The future of the OTM layer will be subject
for discussion on the
+ OJB developers list, if you are using it - please subscribe to ojb-dev and
make your voice heard.
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]