public abstract class BaseDBTestCase
extends Object
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.dao.db.DB |
db |
protected static String |
RENAME_TABLE_QUERY |
Constructor and Description |
---|
BaseDBTestCase() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildSQL(String query) |
protected abstract com.liferay.portal.kernel.dao.db.DB |
getDB() |
void |
testReplaceTemplate() |
void |
testRewordAlterColumnTypeWithDefaultNull() |
protected static final String RENAME_TABLE_QUERY
protected final com.liferay.portal.kernel.dao.db.DB db
public void testReplaceTemplate() throws IOException, SQLException
IOException
SQLException
public void testRewordAlterColumnTypeWithDefaultNull() throws Exception
Exception
protected String buildSQL(String query) throws IOException, SQLException
IOException
SQLException
protected abstract com.liferay.portal.kernel.dao.db.DB getDB()