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/java/org/apache/ojb/broker/metadata/torque TorqueRepositoryGenerator.java
Date Sat, 18 Dec 2004 13:48:55 GMT
arminw      2004/12/18 05:48:55

  Modified:    src/java/org/apache/ojb/broker/metadata/torque
                        TorqueRepositoryGenerator.java
  Log:
  fix used PersistentField
  
  Revision  Changes    Path
  1.9       +6 -6      db-ojb/src/java/org/apache/ojb/broker/metadata/torque/TorqueRepositoryGenerator.java
  
  Index: TorqueRepositoryGenerator.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/torque/TorqueRepositoryGenerator.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TorqueRepositoryGenerator.java	14 Nov 2004 09:36:10 -0000	1.8
  +++ TorqueRepositoryGenerator.java	18 Dec 2004 13:48:55 -0000	1.9
  @@ -15,15 +15,15 @@
    * limitations under the License.
    */
   
  -import org.apache.ojb.broker.metadata.DescriptorRepository;
  -import org.apache.ojb.broker.metadata.RepositoryPersistor;
  -import org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew;
  -import org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldFactory;
  -
   import java.io.FileWriter;
   import java.io.IOException;
   import java.util.Iterator;
   
  +import org.apache.ojb.broker.metadata.DescriptorRepository;
  +import org.apache.ojb.broker.metadata.RepositoryPersistor;
  +import org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectImpl;
  +import org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldFactory;
  +
   public class TorqueRepositoryGenerator
   {
   
  @@ -32,7 +32,7 @@
   
       public TorqueRepositoryGenerator(String xmlInputFile, boolean ignoreAutoIncrement)
throws Exception
       {
  -        RepositoryPersistor persistor = new RepositoryPersistor(new PersistentFieldFactory(PersistentFieldDirectAccessImplNew.class));
  +        RepositoryPersistor persistor = new RepositoryPersistor(new PersistentFieldFactory(PersistentFieldDirectImpl.class));
           DescriptorRepository repository = persistor.readDescriptorRepository(xmlInputFile);
   
           this.tablePreprocessor = new TorqueTablePreprocessor(repository);
  
  
  

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