Class DbToXML

java.lang.Object
org.alfresco.util.schemacomp.DbToXML

public class DbToXML extends Object
Tool to export a database schema to an XML file.
Author:
Matt Ward
  • Constructor Details

    • DbToXML

      public DbToXML(org.springframework.context.ApplicationContext context, File outputFile)
      Constructor. Uses a default name prefix of 'alf_' during the export.
    • DbToXML

      public DbToXML(org.springframework.context.ApplicationContext context, File outputFile, String namePrefix)
      Constructor. Allows specification of a name prefix, e.g. "jpbm_", that will be used during the export.
  • Method Details

    • setDbSchemaName

      public void setDbSchemaName(String dbSchemaName)
      Set an optional default schema name
      Parameters:
      dbSchemaName - String
    • execute

      public void execute()
    • main

      public static void main(String[] args)