Examples of ScalarTypeEnum


Examples of com.avaje.ebeaninternal.server.type.ScalarTypeEnum

    }

    public String getDbConstraintExpression() {
        if (scalarType instanceof ScalarTypeEnum) {
            // create a check constraint for the enum
            ScalarTypeEnum etype = (ScalarTypeEnum) scalarType;

            // check dbColName IN ('A', 'I', 'D')
            return "check (" + dbColumn + " in " + etype.getContraintInValues() + ")";
        }
        return null;
    }
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.