Class GetSequenceNextValueDAO

    • Constructor Detail

      • GetSequenceNextValueDAO

        public GetSequenceNextValueDAO​(String schemaName,
                                       String sequenceName)
        DAO to get the next value from the named sequence
        Parameters:
        schemaName -
        sequenceName -
    • Method Detail

      • run

        public Long run​(IDatabaseTranslator translator,
                        Connection c)
        Execute the encapsulated query against the database and stream the result data to the configured target
        Specified by:
        run in interface IDatabaseSupplier<Long>
        Parameters:
        c -
        translator - to translate any exceptions