DBConfig

public class DBConfig extends AbstractDBConfig

DBConfig encapsulates the database configuration, composed of as db url, username and password.

Constructors

DBConfig

public DBConfig(String url, String username, String password)

Constructor.

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