Class SQLServerSequenceSupport

    • Constructor Detail

      • SQLServerSequenceSupport

        public SQLServerSequenceSupport()
    • Method Detail

      • getSequencePreviousValString

        public String getSequencePreviousValString​(String sequenceName)
                                            throws MappingException
        Description copied from interface: SequenceSupport
        Generate the appropriate select statement to to retrieve the previous value of a sequence.

        This should be a stand alone select statement.

        Parameters:
        sequenceName - the name of the sequence
        Returns:
        String The select "previous value" statement.
        Throws:
        MappingException - If sequences are not supported.