Class AbstractColumnAlternationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.testframework.HybrisJUnit4TransactionalTest
de.hybris.platform.persistence.type.update.AbstractColumnAlternationTest
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
RawToBlobChangeStrategyIntegrationTest,SimpleTypeColumnAlternationTest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static StringFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidcheckTypeChange(UpdateDataUtil.ColumnDefinition sourceType, UpdateDataUtil.ColumnDefinition targetType, UpdateDataUtil.ColumnDefinition expectedAnyway, Object... initdata) protected voidcheckTypeChange(UpdateDataUtil.ColumnDefinition sourceType, UpdateDataUtil.ColumnDefinition targetType, Object... initdata) voidstatic voidprotected voidcreateAndFillStucture(UpdateDataUtil.ColumnDefinition initType, Object... initData) protected voiddropTestTable(Connection con, Statement stmt) protected static StringgetCatalog(Connection con) protected ChangeColumnStrategyprotected voidsetTableNameSubfix(String subfix) Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Field Details
-
TABLE_NAME_SMALL
- See Also:
-
tableName
-
tempTablesNames
-
TABLE_COLUMN_NAME_SMALL
- See Also:
-
dropQueryTemplate
- See Also:
-
createQueryTemplateMySql
- See Also:
-
createQueryTemplateHsql
- See Also:
-
createQueryTemplateOracle
- See Also:
-
insertQueryTemplate
- See Also:
-
-
Constructor Details
-
AbstractColumnAlternationTest
public AbstractColumnAlternationTest()
-
-
Method Details
-
setTableNameSubfix
-
getCatalog
- Throws:
SQLException
-
dropTestTable
-
createAndFillStucture
protected void createAndFillStucture(UpdateDataUtil.ColumnDefinition initType, Object... initData) throws SQLException - Throws:
SQLException
-
clearingStucture
- Throws:
SQLException
-
checkTypeChange
protected void checkTypeChange(UpdateDataUtil.ColumnDefinition sourceType, UpdateDataUtil.ColumnDefinition targetType, Object... initdata) throws SQLException, UpdateModelException - Throws:
SQLExceptionUpdateModelException
-
checkTypeChange
protected void checkTypeChange(UpdateDataUtil.ColumnDefinition sourceType, UpdateDataUtil.ColumnDefinition targetType, UpdateDataUtil.ColumnDefinition expectedAnyway, Object... initdata) throws SQLException, UpdateModelException - Throws:
SQLExceptionUpdateModelException
-
checkDatabaseSupported
protected boolean checkDatabaseSupported() -
getChangeColumnStrategy
-
clearMassTemporaryTables
- Throws:
SQLException
-