db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: jakarta-ojb/xdocs tutorial1.xml tutorial3.xml
Date Mon, 23 Dec 2002 17:37:39 GMT
thma        2002/12/23 09:37:39

  Modified:    xdocs    tutorial1.xml tutorial3.xml
  Log:
  apply Tim's patches
  
  Revision  Changes    Path
  1.15      +1 -1      jakarta-ojb/xdocs/tutorial1.xml
  
  Index: tutorial1.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/xdocs/tutorial1.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- tutorial1.xml	21 Dec 2002 16:17:34 -0000	1.14
  +++ tutorial1.xml	23 Dec 2002 17:37:38 -0000	1.15
  @@ -229,7 +229,7 @@
       try
       {
           broker = PersistenceBrokerFactory.
  -                    createPersistenceBroker("repository.xml");
  +                    createPersistenceBroker(new PBKey("repository.xml"));
       }
       catch (Throwable t)
       {
  
  
  
  1.15      +1 -1      jakarta-ojb/xdocs/tutorial3.xml
  
  Index: tutorial3.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/xdocs/tutorial3.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- tutorial3.xml	21 Dec 2002 16:17:34 -0000	1.14
  +++ tutorial3.xml	23 Dec 2002 17:37:38 -0000	1.15
  @@ -1399,7 +1399,7 @@
           {
               String concreteClass =
                   (String) row.get(concreteClassFD.getColumnName());
  -            broker =PersistenceBrokerFactory.createPersistenceBroker();
  +            broker = PersistenceBrokerFactory.defaultPersistenceBroker();
               ClassDescriptor result =
                   broker.getClassDescriptor(
                     Class.forName(
  
  
  

Mime
View raw message