db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/xdocs tutorial2.xml
Date Thu, 08 May 2003 06:51:33 GMT
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)
       {
  
  
  

Mime
View raw message