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/src/java/org/apache/ojb/broker/metadata RepositoryPersistor.java
Date Sun, 01 Dec 2002 19:00:44 GMT
thma        2002/12/01 11:00:44

  Modified:    src/java/org/apache/ojb/broker/metadata
                        RepositoryPersistor.java
  Log:
  remove the OJB JDO stuff..
  
  Revision  Changes    Path
  1.7       +5 -5      jakarta-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryPersistor.java
  
  Index: RepositoryPersistor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryPersistor.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- RepositoryPersistor.java	27 Nov 2002 05:48:15 -0000	1.6
  +++ RepositoryPersistor.java	1 Dec 2002 19:00:44 -0000	1.7
  @@ -65,7 +65,7 @@
   import org.apache.ojb.broker.util.configuration.ConfigurationException;
   import org.apache.ojb.broker.util.logging.Logger;
   import org.apache.ojb.broker.util.logging.LoggerFactory;
  -import org.apache.ojb.jdo.metadata.OjbJdoXmlHandler;
  +//import org.apache.ojb.jdo.metadata.OjbJdoXmlHandler;
   import org.xml.sax.ContentHandler;
   import org.xml.sax.SAXException;
   import org.xml.sax.XMLReader;
  @@ -224,10 +224,10 @@
   		   // create an empty repository:
   		   DescriptorRepository repository = new DescriptorRepository();
   		   // create handler for building the repository structure
  -		   ContentHandler handler = new OjbJdoXmlHandler(repository);
  +//		   ContentHandler handler = new OjbJdoXmlHandler(repository);
   		   // tell parser to use our handler:
  -		   reader.setContentHandler(handler);
  -		   reader.parse(xmlfile);
  +//		   reader.setContentHandler(handler);
  +//		   reader.parse(xmlfile);
   		   long stop = System.currentTimeMillis();
   		   LoggerFactory.getBootLogger().info("loading XML took " + (stop - start) + " msecs");
   
  
  
  

Mime
View raw message