2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
16 public static int getType(int csqltype
)
21 return Types
.INTEGER
;
27 return Types
.SMALLINT
;
29 return Types
.TINYINT
;
36 return Types
.DECIMAL
;
43 return Types
.TIMESTAMP
;
57 public static String
getTypeName(int csqltype
)
98 public static String
getClassName(int type
)
103 return "java.lang.Integer";
105 return "java.lang.Long" ;
107 return "java.lang.Long" ;
109 return "java.lang.Integer" ;
111 return "java.lang.Integer" ;
114 return "java.lang.Double" ;
116 return "java.lang.Float" ;
118 return "java.lang.Double";
121 return "java.sql.Date" ;
123 return "java.sql.Time" ;
125 return "java.sql.Timestamp" ;
128 return "java.lang.String" ;
130 return "java.lang.String" ;