Examples of SequenceIntervalZeroException


Examples of com.foundationdb.server.error.SequenceIntervalZeroException

    @Override
    public void validate(AkibanInformationSchema ais, AISValidationOutput output) {
        for (Sequence sequence : ais.getSequences().values()) {
            if (sequence.getIncrement() == 0) {
                output.reportFailure(new AISValidationFailure (
                        new SequenceIntervalZeroException()));
            }
            if (sequence.getMinValue() >= sequence.getMaxValue()) {
                output.reportFailure(new AISValidationFailure (
                        new SequenceMinGEMaxException()));
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.