Class DbToXML


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

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

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