Package adams.db

Class DatabaseConnection

    • Constructor Detail

      • DatabaseConnection

        public DatabaseConnection()
        Local Database Constructor.
      • DatabaseConnection

        public DatabaseConnection​(String url,
                                  String user,
                                  BasePassword password)
        Local Database Constructor. Initialise the JDBC driver, and attempt connection to the database specified in the URL, with the given username and password.
        url - the JDBC URL
        user - the user to connect with
        password - the password for the user