Class JdbcPropertiesOverride

java.lang.Object
org.javalite.db_migrator.JdbcPropertiesOverride

public class JdbcPropertiesOverride extends Object
This class serves as a source of JDBC connection properties for different environments during tests. THIS CLASS USED IN TESTS ONLY.
Author:
igor on 4/19/17.
  • Constructor Details

    • JdbcPropertiesOverride

      public JdbcPropertiesOverride()
  • Method Details

    • driver

      public static String driver()
    • url

      public static String url()
      Returns:
      the URL to the database, but does not include a database name. If this URL was configured in the file: jdbc:mysql://localhost/test_project, then the returned value will be: jdbc:mysql://localhost
    • fullUrl

      public static String fullUrl()
    • user

      public static String user()
    • password

      public static String password()