org.apache.openjpa.jdbc.meta
Interface MappingTool.ImportExport

Enclosing class:
MappingTool

public static interface MappingTool.ImportExport

Helper used to import and export mapping data.


Method Summary
 boolean exportMappings(JDBCConfiguration conf, Class<?>[] act, boolean meta, Log log, Writer writer)
          Export mappings for the given classes based on the given arguments.
 boolean importMappings(JDBCConfiguration conf, Class<?>[] act, String[] args, boolean meta, Log log, ClassLoader loader)
          Import mappings for the given classes based on the given arguments.
 

Method Detail

importMappings

boolean importMappings(JDBCConfiguration conf,
                       Class<?>[] act,
                       String[] args,
                       boolean meta,
                       Log log,
                       ClassLoader loader)
                       throws IOException
Import mappings for the given classes based on the given arguments.

Throws:
IOException

exportMappings

boolean exportMappings(JDBCConfiguration conf,
                       Class<?>[] act,
                       boolean meta,
                       Log log,
                       Writer writer)
                       throws IOException
Export mappings for the given classes based on the given arguments.

Throws:
IOException


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.