Java SQL Type isStringType(int type)

Here you can find the source of isStringType(int type)

Description

is String Type

License

Apache License

Declaration

private static boolean isStringType(int type) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.sql.Types;

public class Main {
    private static boolean isStringType(int type) {
        return type == Types.CHAR || type == Types.NCHAR
                || type == Types.VARCHAR || type == Types.LONGVARCHAR
                || type == Types.NVARCHAR;
    }//from ww  w . ja  va2s .  c  om
}

Related

  1. isSqlTypeSupported(int sqlType)
  2. isString(int colType)
  3. isStringType(int dataType)
  4. isStringType(int sqlType)
  5. isStringType(int sqlType)
  6. isStringType(int type)
  7. isSupportedDataType(int type, String typeName)
  8. isTableMissing(Connection con)
  9. isTextType(int columnType)