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)
Parameters:
  • url
  • driver
  • username
  • password
Throws:
  • org.motechproject.config.core.MotechConfigurationException – if given url is invalid.