jodd.db.type
Class TypesUtil

java.lang.Object
  extended by jodd.db.type.TypesUtil

public class TypesUtil
extends java.lang.Object

Some java.sql.Types utilities.


Constructor Summary
TypesUtil()
           
 
Method Summary
static boolean isIntegerType(int type)
          Returns true if type is some integer-like type: INTEGER, SMALLINT, TINYINT, BIT.
static boolean isStringType(int type)
          Returns true if type is some string-like type: CHAR, VARCHAR.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypesUtil

public TypesUtil()
Method Detail

isIntegerType

public static boolean isIntegerType(int type)
Returns true if type is some integer-like type: INTEGER, SMALLINT, TINYINT, BIT.


isStringType

public static boolean isStringType(int type)
Returns true if type is some string-like type: CHAR, VARCHAR.



Copyright © 2003-2011 Jodd Team