Class TestRunnerStatementProvider


  • public class TestRunnerStatementProvider
    extends Object
    Provides different implementations of TestRunnerStatement based on the version of the database framework
    Author:
    pesse
    • Method Detail

      • getCompatibleTestRunnerStatement

        public static TestRunnerStatement getCompatibleTestRunnerStatement​(Version databaseVersion,
                                                                           TestRunnerOptions options,
                                                                           Connection conn)
                                                                    throws SQLException
        Returns the TestRunnerStatement-implementation compatible with the given databaseVersion.
        Parameters:
        databaseVersion - Version of the database framework
        options - TestRunnerOptions to be used
        conn - Active Connection
        Returns:
        TestRunnerStatment compatible with the database framework
        Throws:
        SQLException - if there are problems with the database access