Liferay 7.0-ce-b4

com.liferay.portal.verify
Class VerifyMySQL

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.verify.VerifyProcess
          extended by com.liferay.portal.verify.VerifyMySQL
All Implemented Interfaces:
DBProcess

public class VerifyMySQL
extends VerifyProcess


Field Summary
 
Fields inherited from class com.liferay.portal.verify.VerifyProcess
ALWAYS, NEVER, ONCE
 
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
 
Constructor Summary
VerifyMySQL()
           
 
Method Summary
protected  void doVerify()
           
protected  String getActualColumnType(Statement statement, String tableName, String columnName)
           
protected  void verifyDatetimePrecision(DatabaseMetaData databaseMetaData, Statement statement)
           
protected  void verifyDatetimePrecisionForTable(DatabaseMetaData databaseMetaData, Statement statement, String catalog, String schemaPattern, String tableName)
           
protected  void verifyTableEngine(Statement statement)
           
 
Methods inherited from class com.liferay.portal.verify.VerifyProcess
doVerify, getBuildNumber, getPortalTableNames, isPortalTableName, verify, verify
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
doHasTable, hasColumn, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyMySQL

public VerifyMySQL()
Method Detail

doVerify

protected void doVerify()
                 throws Exception
Overrides:
doVerify in class VerifyProcess
Throws:
Exception

getActualColumnType

protected String getActualColumnType(Statement statement,
                                     String tableName,
                                     String columnName)
                              throws SQLException
Throws:
SQLException

verifyDatetimePrecision

protected void verifyDatetimePrecision(DatabaseMetaData databaseMetaData,
                                       Statement statement)
                                throws Exception
Throws:
Exception

verifyDatetimePrecisionForTable

protected void verifyDatetimePrecisionForTable(DatabaseMetaData databaseMetaData,
                                               Statement statement,
                                               String catalog,
                                               String schemaPattern,
                                               String tableName)
                                        throws SQLException
Throws:
SQLException

verifyTableEngine

protected void verifyTableEngine(Statement statement)
                          throws Exception
Throws:
Exception

Liferay 7.0-ce-b4