You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2003/05/08 08:51:33 UTC

cvs commit: db-ojb/xdocs tutorial2.xml

arminw      2003/05/07 23:51:33

  Modified:    xdocs    tutorial2.xml
  Log:
  update odmg db.open(..) method
  
  Revision  Changes    Path
  1.8       +3 -1      db-ojb/xdocs/tutorial2.xml
  
  Index: tutorial2.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/xdocs/tutorial2.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- tutorial2.xml	21 Dec 2002 16:17:34 -0000	1.7
  +++ tutorial2.xml	8 May 2003 06:51:33 -0000	1.8
  @@ -107,7 +107,9 @@
       //open database
       try
       {
  -        db.open("repository.xml", Database.OPEN_READ_WRITE);
  +        // "default" is the jcdAlias name from the
  +        // jdbc-coonection-descriptor in the repository file
  +        db.open("default", Database.OPEN_READ_WRITE);
       }
       catch (ODMGException ex)
       {