com.youyounet.db
Class DataType

java.lang.Object
  |
  +--com.youyounet.db.DataType

public class DataType
extends java.lang.Object

DataType is a hlep class used to map the Java object types tp Java SQL data Types


Field Summary
static int[] sqlTypeMapping
          map data bean data types to Java SQL data Types
static int t_boolean
           
static int t_byte
           
static int t_double
           
static int t_float
           
static int t_int
           
static int t_long
           
static int t_short
           
static int tAsString
           
static int tBlob
           
static int tBoolean
           
static int tByte
           
static int tBytes
           
static int tClob
           
static int tClosure
           
static int tCompound
           
static int tDate
           
static int tDecimal
           
static int tDouble
           
static int tFloat
           
static int tInteger
           
static int tLong
           
static int tShort
           
static int tStream
           
static int tString
           
static int tTime
           
static int tTimestamp
           
 
Constructor Summary
DataType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

t_byte

public static final int t_byte
See Also:
Constant Field Values

t_short

public static final int t_short
See Also:
Constant Field Values

t_int

public static final int t_int
See Also:
Constant Field Values

t_long

public static final int t_long
See Also:
Constant Field Values

t_float

public static final int t_float
See Also:
Constant Field Values

t_double

public static final int t_double
See Also:
Constant Field Values

t_boolean

public static final int t_boolean
See Also:
Constant Field Values

tByte

public static final int tByte
See Also:
Constant Field Values

tShort

public static final int tShort
See Also:
Constant Field Values

tInteger

public static final int tInteger
See Also:
Constant Field Values

tLong

public static final int tLong
See Also:
Constant Field Values

tFloat

public static final int tFloat
See Also:
Constant Field Values

tDouble

public static final int tDouble
See Also:
Constant Field Values

tBoolean

public static final int tBoolean
See Also:
Constant Field Values

tDecimal

public static final int tDecimal
See Also:
Constant Field Values

tString

public static final int tString
See Also:
Constant Field Values

tBytes

public static final int tBytes
See Also:
Constant Field Values

tDate

public static final int tDate
See Also:
Constant Field Values

tTime

public static final int tTime
See Also:
Constant Field Values

tTimestamp

public static final int tTimestamp
See Also:
Constant Field Values

tStream

public static final int tStream
See Also:
Constant Field Values

tBlob

public static final int tBlob
See Also:
Constant Field Values

tClob

public static final int tClob
See Also:
Constant Field Values

tAsString

public static final int tAsString
See Also:
Constant Field Values

tClosure

public static final int tClosure
See Also:
Constant Field Values

tCompound

public static final int tCompound
See Also:
Constant Field Values

sqlTypeMapping

public static final int[] sqlTypeMapping
map data bean data types to Java SQL data Types

Constructor Detail

DataType

public DataType()