db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r463750 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/sequence/DatabaseIdentityTest.java
Date Fri, 13 Oct 2006 17:44:01 GMT
Author: arminw
Date: Fri Oct 13 10:44:00 2006
New Revision: 463750

URL: http://svn.apache.org/viewvc?view=rev&rev=463750
Log:
use new/renamed class

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/sequence/DatabaseIdentityTest.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/sequence/DatabaseIdentityTest.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/sequence/DatabaseIdentityTest.java?view=diff&rev=463750&r1=463749&r2=463750
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/sequence/DatabaseIdentityTest.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/sequence/DatabaseIdentityTest.java
Fri Oct 13 10:44:00 2006
@@ -27,6 +27,7 @@
 import org.apache.ojb.broker.Identity;
 import org.apache.ojb.broker.PersistenceBrokerFactory;
 import org.apache.ojb.broker.TestHelper;
+import org.apache.ojb.broker.util.sequence.SequenceManagerIdentityImpl;
 import org.apache.ojb.broker.metadata.MetadataManager;
 import org.apache.ojb.broker.metadata.ObjectReferenceDescriptor;
 import org.apache.ojb.broker.metadata.SequenceDescriptor;
@@ -34,7 +35,6 @@
 import org.apache.ojb.broker.query.Criteria;
 import org.apache.ojb.broker.query.QueryByCriteria;
 import org.apache.ojb.broker.query.QueryFactory;
-import org.apache.ojb.broker.util.sequence.SequenceManagerNativeImpl;
 import org.apache.ojb.junit.PBTestCase;
 import org.apache.ojb.odmg.OJB;
 import org.apache.ojb.odmg.TransactionExt;
@@ -43,7 +43,7 @@
 import org.odmg.Transaction;
 
 /**
- * Test case for {@link org.apache.ojb.broker.util.sequence.SequenceManagerNativeImpl}. These
test check
+ * Test case for {@link org.apache.ojb.broker.util.sequence.SequenceManagerIdentityImpl}.
These test check
  * support for native database identity columns. Test case only works for
  * Hsql and Mysql.
  *
@@ -112,7 +112,7 @@
         SequenceDescriptor sd = mm.connectionRepository().getDescriptor(broker.getPBKey()).getSequenceDescriptor();
         oldSequenceManager = sd.getSequenceManagerClass();
         // set the sequence manager
-        sd.setSequenceManagerClass(SequenceManagerNativeImpl.class);
+        sd.setSequenceManagerClass(SequenceManagerIdentityImpl.class);
         broker.close();
 
         // check usage of correct SequenceManager implementation
@@ -120,7 +120,7 @@
         broker = PersistenceBrokerFactory.defaultPersistenceBroker();
 
         sd = mm.connectionRepository().getDescriptor(broker.getPBKey()).getSequenceDescriptor();
-        assertEquals(SequenceManagerNativeImpl.class, sd.getSequenceManagerClass());
+        assertEquals(SequenceManagerIdentityImpl.class, sd.getSequenceManagerClass());
     }
 
     public void tearDown() throws Exception



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message