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/src/ejb/org/apache/ojb/ejb/odmg ODMGHelper.java
Date Wed, 31 Aug 2005 17:43:32 GMT
arminw      2005/08/31 10:43:32

  Modified:    src/ejb/org/apache/ojb/ejb/odmg ODMGHelper.java
  Log:
  use access to ODMG-api via OJB base class
  
  Revision  Changes    Path
  1.3       +3 -3      db-ojb/src/ejb/org/apache/ojb/ejb/odmg/ODMGHelper.java
  
  Index: ODMGHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/ejb/org/apache/ojb/ejb/odmg/ODMGHelper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ODMGHelper.java	13 Sep 2004 10:54:28 -0000	1.2
  +++ ODMGHelper.java	31 Aug 2005 17:43:32 -0000	1.3
  @@ -1,6 +1,5 @@
   package org.apache.ojb.ejb.odmg;
   
  -import org.apache.ojb.odmg.OJB;
   import org.odmg.Database;
   import org.odmg.Implementation;
   import org.odmg.ODMGException;
  @@ -31,12 +30,13 @@
   public class ODMGHelper
   {
       public static final String DEF_DATABASE_NAME = "default";
  +    private static org.apache.ojb.broker.OJB ojb = new org.apache.ojb.broker.OJB();
       private static Implementation odmg;
       private static Database db;
   
       static
       {
  -        odmg = OJB.getInstance();
  +        odmg = ojb.instanceODMG();
           db = odmg.newDatabase();
           try
           {
  
  
  

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