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/tools/org/apache/ojb/tools/mapping/reversedb2/actions ActionOpenOJBRepository.java
Date Sat, 18 Dec 2004 13:57:41 GMT
arminw      2004/12/18 05:57:41

  Modified:    src/tools/org/apache/ojb/tools/mapping/reversedb2/actions
                        ActionOpenOJBRepository.java
  Log:
  fix PersistentField
  
  Revision  Changes    Path
  1.3       +3 -3      db-ojb/src/tools/org/apache/ojb/tools/mapping/reversedb2/actions/ActionOpenOJBRepository.java
  
  Index: ActionOpenOJBRepository.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/tools/org/apache/ojb/tools/mapping/reversedb2/actions/ActionOpenOJBRepository.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ActionOpenOJBRepository.java	14 Nov 2004 09:43:34 -0000	1.2
  +++ ActionOpenOJBRepository.java	18 Dec 2004 13:57:41 -0000	1.3
  @@ -15,12 +15,12 @@
    * limitations under the License.
    */
   
  -import javax.swing.JFileChooser;
  +import javax.swing.*;
   
   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;
  -import org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImplNew;
   import org.apache.ojb.tools.mapping.reversedb2.Main;
   import org.apache.ojb.tools.mapping.reversedb2.gui.JIFrmOJBRepository;
   
  @@ -54,7 +54,7 @@
                   {
                       try
                       {
  -                        RepositoryPersistor persistor = new RepositoryPersistor(new PersistentFieldFactory(PersistentFieldDirectAccessImplNew.class));
  +                        RepositoryPersistor persistor = new RepositoryPersistor(new PersistentFieldFactory(PersistentFieldDirectImpl.class));
                           DescriptorRepository repository = persistor.readDescriptorRepository(selectedFile.getCanonicalPath());
                           JIFrmOJBRepository frm = new JIFrmOJBRepository(repository);
                           containingFrame.getContentPane().add(frm);
  
  
  

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