db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r452829 - /db/ojb/trunk/src/test/org/apache/ojb/broker/NumberAccuracyTest.java
Date Wed, 04 Oct 2006 10:58:26 GMT
Author: arminw
Date: Wed Oct  4 03:58:26 2006
New Revision: 452829

URL: http://svn.apache.org/viewvc?view=rev&rev=452829
Log:
use IdentityFactory

Modified:
    db/ojb/trunk/src/test/org/apache/ojb/broker/NumberAccuracyTest.java

Modified: db/ojb/trunk/src/test/org/apache/ojb/broker/NumberAccuracyTest.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/test/org/apache/ojb/broker/NumberAccuracyTest.java?view=diff&rev=452829&r1=452828&r2=452829
==============================================================================
--- db/ojb/trunk/src/test/org/apache/ojb/broker/NumberAccuracyTest.java (original)
+++ db/ojb/trunk/src/test/org/apache/ojb/broker/NumberAccuracyTest.java Wed Oct  4 03:58:26
2006
@@ -46,7 +46,7 @@
         broker.store(no);
         broker.commitTransaction();
 
-        Identity oidNo = new Identity(no, broker);
+        Identity oidNo = broker.serviceIdentity().buildIdentity(no);
         broker.clearCache();
         NumberObject newNo = (NumberObject) broker.getObjectByIdentity(oidNo);
 //        System.out.println("# " + newNo.getScaleTwoDouble());



---------------------------------------------------------------------
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