public class MySqlTestDatabase extends AbstractTestDatabase
Modifier and Type | Field and Description |
---|---|
static String |
SQL_CREATE_SP_GET_RECORDS |
static String |
SQL_CREATE_SP_GET_SPLIT_RECORDS |
static String |
SQL_CREATE_SP_UPDATE_TEST_TYPE_1 |
ALIEN_TEST_VALUES, CONTACT_TEST_VALUES, NO_RESULSET_FROM_FUNCTION_SUPPORT_ERROR, NO_SQLXML_SUPPORT_ERROR, NO_UDT_SUPPORT_ERROR, PLANET_TEST_VALUES, REGION_MANAGER_TEST_VALUES, REGION_TEST_VALUES
Constructor and Description |
---|
MySqlTestDatabase() |
Modifier and Type | Method and Description |
---|---|
void |
createDelayFunction(DataSource dataSource) |
void |
createPlanetTable(Connection connection) |
void |
createStoredProcedureConcatenateStrings(DataSource dataSource) |
void |
createStoredProcedureCountRecords(DataSource dataSource) |
void |
createStoredProcedureDoubleMyInt(DataSource dataSource) |
void |
createStoredProcedureGetRecords(DataSource dataSource) |
void |
createStoredProcedureGetSplitRecords(DataSource dataSource) |
void |
createStoredProcedureMultiplyInts(DataSource dataSource) |
void |
createStoredProcedureParameterizedUpdateTestType1(DataSource dataSource) |
void |
createStoredProcedureUpdateTestType1(DataSource dataSource) |
org.mule.common.metadata.datatype.DataType |
getIdFieldInputMetaDataType() |
protected String |
getInsertPlanetSql(String name,
int position) |
createAlienTable, createContactDetailsArrayType, createContactDetailsType, createContactsTable, createDefaultDatabaseConfig, createFunctionGetRecords, createPlanetTestTable, createRegionManagersTable, createRegionsTable, createRegionsTestTable, createStoredProcedure, createStoredProcedureGetAlienDescription, createStoredProcedureGetContactDetails, createStoredProcedureGetManagerDetails, createStoredProcedureGetZipCodes, createStoredProcedureUpdateAlienDescription, createZipArrayType, deleteAlienTable, deleteContactsTable, deletePlanetTable, deleteRegionManagersTable, deleteRegionsTable, executeDdl, executeDdl, executeUpdate, getDefaultAutoGeneratedKeyClass, getIdFieldJavaClass, getIdFieldOutputMetaDataType, getInsertAlienSql, getInsertContactSql, getInsertRegionManagerSql, getInsertRegionSql, getPositionFieldOutputMetaDataType, populatePlanetTable, supportsArraysUdt, supportsSimpleUdt, supportsXmlType
public static String SQL_CREATE_SP_UPDATE_TEST_TYPE_1
public static String SQL_CREATE_SP_GET_RECORDS
public static String SQL_CREATE_SP_GET_SPLIT_RECORDS
public void createPlanetTable(Connection connection) throws SQLException
createPlanetTable
in class AbstractTestDatabase
SQLException
protected String getInsertPlanetSql(String name, int position)
getInsertPlanetSql
in class AbstractTestDatabase
public void createStoredProcedureGetRecords(DataSource dataSource) throws SQLException
createStoredProcedureGetRecords
in class AbstractTestDatabase
SQLException
public void createStoredProcedureUpdateTestType1(DataSource dataSource) throws SQLException
createStoredProcedureUpdateTestType1
in class AbstractTestDatabase
SQLException
public void createStoredProcedureParameterizedUpdateTestType1(DataSource dataSource) throws SQLException
createStoredProcedureParameterizedUpdateTestType1
in class AbstractTestDatabase
SQLException
public void createStoredProcedureCountRecords(DataSource dataSource) throws SQLException
createStoredProcedureCountRecords
in class AbstractTestDatabase
SQLException
public void createStoredProcedureGetSplitRecords(DataSource dataSource) throws SQLException
createStoredProcedureGetSplitRecords
in class AbstractTestDatabase
SQLException
public void createStoredProcedureDoubleMyInt(DataSource dataSource) throws SQLException
createStoredProcedureDoubleMyInt
in class AbstractTestDatabase
SQLException
public void createStoredProcedureMultiplyInts(DataSource dataSource) throws SQLException
createStoredProcedureMultiplyInts
in class AbstractTestDatabase
SQLException
public void createStoredProcedureConcatenateStrings(DataSource dataSource) throws SQLException
createStoredProcedureConcatenateStrings
in class AbstractTestDatabase
SQLException
public void createDelayFunction(DataSource dataSource) throws SQLException
createDelayFunction
in class AbstractTestDatabase
SQLException
public org.mule.common.metadata.datatype.DataType getIdFieldInputMetaDataType()
getIdFieldInputMetaDataType
in class AbstractTestDatabase
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.