| DatabaseTester that configures a DriverManager from environment properties.
This class defines a set of keys for system properties that need to be
present in the environment before using it. Example:
System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_DRIVER_CLASS,
"com.mycompany.myDriver" );
System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_CONNECTION_URL,
"jdbc:mydb://host/dbname" );
System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_USERNAME,
"myuser" );
System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_PASSWORD,
"mypasswd" );
System.setProperty( PropertiesBasedJdbcDatabaseTester.DBUNIT_SCHEMA,
"myschema" );
author: Andres Almiray author: Felipe Leme |