public abstract class AbstractTestDatabase extends Object
Modifier and Type | Field and Description |
---|---|
static Alien[] |
ALIEN_TEST_VALUES |
static String |
NO_RESULSET_FROM_FUNCTION_SUPPORT_ERROR |
static String |
NO_SQLXML_SUPPORT_ERROR |
static Planet[] |
PLANET_TEST_VALUES |
Constructor and Description |
---|
AbstractTestDatabase() |
public static final Planet[] PLANET_TEST_VALUES
public static final Alien[] ALIEN_TEST_VALUES
public static final String NO_SQLXML_SUPPORT_ERROR
public static final String NO_RESULSET_FROM_FUNCTION_SUPPORT_ERROR
public void deletePlanetTable(Connection connection) throws SQLException
SQLException
public abstract void createPlanetTable(Connection connection) throws SQLException
SQLException
public static void executeDdl(DataSource dataSource, String ddl) throws SQLException
SQLException
public static void executeDdl(Connection connection, String ddl) throws SQLException
SQLException
public void executeUpdate(Connection connection, String updateSql) throws SQLException
SQLException
public final void populatePlanetTable(Connection connection, Planet[] testValues) throws SQLException
SQLException
public void createDefaultDatabaseConfig(DataSource dataSource) throws SQLException
SQLException
protected void createAlienTable(Connection connection) throws SQLException
SQLException
protected void deleteAlienTable(Connection connection) throws SQLException
SQLException
protected boolean supportsXmlType()
protected void createPlanetTestTable(Connection connection) throws SQLException
SQLException
public void createStoredProcedure(DataSource dataSource, String sql) throws SQLException
SQLException
public abstract void createStoredProcedureGetRecords(DataSource dataSource) throws SQLException
SQLException
public void createFunctionGetRecords(DataSource dataSource) throws SQLException
SQLException
public abstract void createStoredProcedureUpdateTestType1(DataSource dataSource) throws SQLException
SQLException
public abstract void createStoredProcedureParameterizedUpdateTestType1(DataSource dataSource) throws SQLException
SQLException
public abstract void createStoredProcedureCountRecords(DataSource dataSource) throws SQLException
SQLException
public abstract void createStoredProcedureGetSplitRecords(DataSource dataSource) throws SQLException
SQLException
public abstract void createStoredProcedureDoubleMyInt(DataSource dataSource) throws SQLException
SQLException
public abstract void createStoredProcedureMultiplyInts(DataSource dataSource) throws SQLException
SQLException
public abstract void createStoredProcedureConcatenateStrings(DataSource dataSource) throws SQLException
SQLException
public void createStoredProcedureGetAlienDescription(DataSource dataSource) throws SQLException
SQLException
public void createStoredProcedureUpdateAlienDescription(DataSource dataSource) throws SQLException
SQLException
public org.mule.common.metadata.datatype.DataType getIdFieldInputMetaDataType()
public org.mule.common.metadata.datatype.DataType getIdFieldOutputMetaDataType()
public org.mule.common.metadata.datatype.DataType getPositionFieldOutputMetaDataType()
public Class getIdFieldJavaClass()
public Class getDefaultAutoGeneratedKeyClass()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.