com.ibm.tivoli.maximo.dbmanage

Class MaximoDatabaseInfo

  • java.lang.Object
    • com.ibm.tivoli.maximo.dbmanage.MaximoDatabaseInfo
  • Direct Known Subclasses:
    DatabaseInformation


    public abstract class MaximoDatabaseInfo
    extends java.lang.Object
    Source for information about a Maximo database.
    • Constructor Detail

      • MaximoDatabaseInfo

        public MaximoDatabaseInfo()
    • Method Detail

      • getServerType

        public abstract ServerType getServerType()
        Returns the type of server
      • isV510

        public abstract boolean isV510()
        Is this database a release V510 prior or earlier?
      • isUsingVarGraphic

        public abstract boolean isUsingVarGraphic()
                                           throws java.sql.SQLException
        Are VarGraphic in use?
        Throws:
        MXException
        java.lang.Exception
        java.sql.SQLException
      • isSQLServer

        public boolean isSQLServer()
        Is this database SQLServer?
      • isDB2

        public boolean isDB2()
        Is this database DB2?
      • isOracle

        public boolean isOracle()
        Is this database Oracle?
      • getMaxVarCharLength

        public abstract int getMaxVarCharLength()
        Returns the maximum length of a string column, in characters.
      • getVarCharMultiple

        public abstract int getVarCharMultiple()
                                        throws java.sql.SQLException
        Returns the value of the VARCHARMULTIPLE MaxVar, or 1 if the MaxVar isn't found.
        Throws:
        java.sql.SQLException
      • getMaxVarValueFromCache

        public abstract java.lang.String getMaxVarValueFromCache(java.lang.String varName)
      • getSequenceIncrement

        public abstract int getSequenceIncrement()
                                          throws java.lang.Exception
        Returns the increment interval for sequences. Usually this value is 1. The MaxVar SEQUENCEINCREMENT can be set to change this.
        Returns:
        the interval value
        Throws:
        java.lang.Exception
      • isMTEnabled

        public boolean isMTEnabled()
                            throws java.sql.SQLException
        Is Multitenancy enabled?
        Throws:
        java.sql.SQLException
      • isMaxInst

        public abstract boolean isMaxInst()