Java SQL Type isBinary(int jdbcType)

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

Description

is Binary

License

Open Source License

Declaration

public static boolean isBinary(int jdbcType) 

Method Source Code


//package com.java2s;
import java.sql.Types;

public class Main {
    public static boolean isBinary(int jdbcType) {
        switch (jdbcType) {
        case Types.BINARY:
        case Types.VARBINARY:
        case Types.LONGVARBINARY:
            return true;
        default://ww  w  .  j  av a 2s.  co  m
            return false;
        }
    }
}

Related

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