db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/odmg NamedRoots.java
Date Thu, 06 Feb 2003 20:52:58 GMT
brj         2003/02/06 12:52:58

  Modified:    src/test/org/apache/ojb/odmg NamedRoots.java
  Log:
  avoid deprecated Identity constructor
  
  Revision  Changes    Path
  1.9       +3 -3      db-ojb/src/test/org/apache/ojb/odmg/NamedRoots.java
  
  Index: NamedRoots.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/NamedRoots.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- NamedRoots.java	5 Feb 2003 20:04:40 -0000	1.8
  +++ NamedRoots.java	6 Feb 2003 20:52:58 -0000	1.9
  @@ -226,9 +226,9 @@
           //bind object to name
           tx.begin();
           Article example = createArticle();
  -        Identity oid = new Identity(example);
  +        Identity oid = new Identity(example, ((TransactionImpl)tx).getBroker());
   
  -        try
  +        try 
           {
               db.bind(example, bindingName);
               tx.commit();
  
  
  

Mime
View raw message