Java SQL Type isBinary(int dataType)

Here you can find the source of isBinary(int dataType)

Description

is Binary

License

Open Source License

Declaration

public static boolean isBinary(int dataType) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static boolean isBinary(int dataType) {
        switch (dataType) {
        case java.sql.Types.BLOB:
        case java.sql.Types.CLOB:
        case java.sql.Types.NCLOB:
        case java.sql.Types.BINARY:
        case java.sql.Types.VARBINARY:
        case java.sql.Types.LONGVARBINARY:
        case java.sql.Types.SQLXML:
            return true;
        default:/*from  w ww  . j  a  v  a 2s  . c o  m*/
            return false;
        }
    }
}

Related

  1. getValueType(String inputValue)
  2. getVarcharTypeString(Connection conn, int length)
  3. getViewIdsForTypes(Connection connection, String... types)
  4. indexOf(Object[] array, Object objectToFind)
  5. invokeJdbcMethod(Class interfaceClass, String methodName, Class[] argTypes, Object target, Object[] args)
  6. isBinary(int jdbcType)
  7. isBoolean(int ct)
  8. isBoolean(int dataType)
  9. isBoolean(int dataType)