SQLDBConfig

public class SQLDBConfig extends AbstractDBConfig

This class encapsulates the SQL database configuration, composed of as db url, username and password.

Constructors

SQLDBConfig

public SQLDBConfig(String url, String driver, String username, String password)

Constructor.

Parameters:
  • url – the URL to the database
  • driver – the driver class name for the database
  • username – the username for the database
  • password – the password for the database
Throws:
  • MotechConfigurationException – if given url is invalid.