jetbrick-orm/src/main/java/jetbrick/dao/dialect/SqlDialect.java
public boolean supportsColumnLength(String type) {
        Set<String> columnSet = new HashSet<String>();
        columnSet.add("char");
        columnSet.add("nchar");
        columnSet.add("varchar");
        columnSet.add("nvarchar");
        columnSet.add("varchar2");
        columnSet.add("nvarchar2");
        columnSet.add("number");
        columnSet.add("numeric");
        columnSet.add("dec");
        columnSet.add("decimal");
        return columnSet.contains(type.toLowerCase());
    }
public boolean supportsColumnLength(String type) {
        Set<String> columnSet = new HashSet<String>();
        columnSet.add("char");
        columnSet.add("nchar");
        columnSet.add("varchar");
        columnSet.add("nvarchar");
        columnSet.add("varchar2");
        columnSet.add("nvarchar2");
        columnSet.add("number");
        columnSet.add("numeric");
        columnSet.add("dec");
        columnSet.add("decimal");
        return columnSet.contains(type.toLowerCase());
    }
public boolean supportsColumnLength ( String type ) { Set < String > columnSet = new HashSet < String > ( ) ; columnSet . add ( "char" ) ; columnSet . add ( "nchar" ) ; columnSet . add ( "varchar" ) ; columnSet . add ( "nvarchar" ) ; columnSet . add ( "varchar2" ) ; columnSet . add ( "nvarchar2" ) ; columnSet . add ( "number" ) ; columnSet . add ( "numeric" ) ; columnSet . add ( "dec" ) ; columnSet . add ( "decimal" ) ; return columnSet . contains ( type . toLowerCase ( ) ) ; }
哪些数据库字段运行指定长度.
@param type 具体的数据库字段类型
哪些数据库字段运行指定长度 .