Liferay 6.2-ce-ga5

com.liferay.portal.verify
Class VerifySQLServer

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.VerifySQLServer
All Implemented Interfaces:
DBProcess

public class VerifySQLServer
extends VerifyProcess


Field Summary
 
Fields inherited from class com.liferay.portal.verify.VerifyProcess
ALWAYS, NEVER, ONCE
 
Constructor Summary
VerifySQLServer()
           
 
Method Summary
protected  void convertColumnsToUnicode()
           
protected  void convertColumnToNvarcharMax(String tableName, String columnName)
           
protected  void convertTextColumn(String tableName, String columnName, boolean nullable)
           
protected  void convertVarcharColumn(String tableName, String columnName, int length, boolean nullable)
           
protected  void doVerify()
           
protected  void dropNonunicodeTableIndexes()
           
protected  List<String> getPrimaryKeyColumnNames(String indexName)
           
 
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
runSQL, runSQL, runSQLTemplate, runSQLTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifySQLServer

public VerifySQLServer()
Method Detail

convertColumnsToUnicode

protected void convertColumnsToUnicode()

convertColumnToNvarcharMax

protected void convertColumnToNvarcharMax(String tableName,
                                          String columnName)
                                   throws Exception
Throws:
Exception

convertTextColumn

protected void convertTextColumn(String tableName,
                                 String columnName,
                                 boolean nullable)
                          throws Exception
Throws:
Exception

convertVarcharColumn

protected void convertVarcharColumn(String tableName,
                                    String columnName,
                                    int length,
                                    boolean nullable)
                             throws Exception
Throws:
Exception

doVerify

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

dropNonunicodeTableIndexes

protected void dropNonunicodeTableIndexes()

getPrimaryKeyColumnNames

protected List<String> getPrimaryKeyColumnNames(String indexName)

Liferay 6.2-ce-ga5