com.ibm.tivoli.maximo.integrity.check

Class CheckDatabaseVersion

  • All Implemented Interfaces:
    ICConstants


    public class CheckDatabaseVersion
    extends IntegrityCheck
    Check database version. This check should only be performed for SQL server
    • Method Detail

      • getTitle

        public MXException getTitle()
        Description copied from class: IntegrityCheck
        Returns an MXException that tells the user what is being checked now. "Checking for any workflow loops that may exist."
        Specified by:
        getTitle in class IntegrityCheck
      • conditionsCheck

        public boolean conditionsCheck()
                                throws java.lang.Exception
        Check should only be execute for SQL Server
        Specified by:
        conditionsCheck in class IntegrityCheck
        Returns:
        true if the conditions are correct for the check.
        Throws:
        java.lang.Exception
        java.sql.SQLException
        See Also:
        IntegrityCheck.conditionsCheck()
      • prerequisitesCheck

        public boolean prerequisitesCheck()
        Description copied from class: IntegrityCheck
        Can this test be run now? This is for things like loading the meta data, or having valid data in the MaxAttribute table. The test should run after other problems are resolved.
        Specified by:
        prerequisitesCheck in class IntegrityCheck
        Returns:
        true if all prerequisites are there to run the check.
      • check

        protected void check()
                      throws java.lang.Exception
        This method only checks if SQL Server version is lower than SQL Server 2005 (major=9). SQL Server 2000 handles indexes differently (non-Javadoc)
        Specified by:
        check in class IntegrityCheck
        Throws:
        java.lang.Exception
        See Also:
        IntegrityCheck.check()