Class GetLogicalResourceNeedsV0027Migration

  • All Implemented Interfaces:
    IDatabaseSupplier<java.lang.Boolean>

    public class GetLogicalResourceNeedsV0027Migration
    extends java.lang.Object
    implements IDatabaseSupplier<java.lang.Boolean>
    Check to see if we have any data in LOGICAL_RESOURCE_IDENT. If it is empty, we assume we need to perform a migration
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean run​(IDatabaseTranslator translator, java.sql.Connection c)
      Execute the statement using the connection and return the value
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GetLogicalResourceNeedsV0027Migration

        public GetLogicalResourceNeedsV0027Migration​(java.lang.String schemaName)
        Public constructor
        Parameters:
        schemaName -
    • Method Detail

      • run

        public java.lang.Boolean run​(IDatabaseTranslator translator,
                                     java.sql.Connection c)
        Description copied from interface: IDatabaseSupplier
        Execute the statement using the connection and return the value
        Specified by:
        run in interface IDatabaseSupplier<java.lang.Boolean>
        Parameters:
        translator - to translate any exceptions