Class DBCreate

  • All Implemented Interfaces:
    InitializationCommand

    public class DBCreate
    extends DBInitializationCommand
    Create the database using the name as specified through the ManifoldCF. The username and password for the configured database need to be specified during construction.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _rcsid  
    • Constructor Summary

      Constructors 
      Constructor Description
      DBCreate​(java.lang.String userName, java.lang.String password)
      The userName and password for the database to be created
    • Constructor Detail

      • DBCreate

        public DBCreate​(java.lang.String userName,
                        java.lang.String password)
        The userName and password for the database to be created
        Parameters:
        userName - String containing the mandatory database username
        password - String containing the mandatory database password
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Useful when running this class standalone. Provide two arguments, the first is the username, the second the password. The password is optional, an empty string is used as the default password.
        Parameters:
        args - String[] containing the arguments