int getFieldType(Hashtable field) throws Exception

Description

Returns the field type of this column as an int value of DBEventParser.

See the following table for the field types (JDBC datatypes) and their int values:

JDBC datatype constant

Constant value (int)

DBEventParser.CHAR

0

DBEventParser.UNICHAR

25

DBEventParser.UNIVARCHAR

110

DBEventParser.BINARY

1

DBEventParser.TEXT

4

DBEventParser.UNITEXT

29

DBEventParser.IMAGE

5

DBEventParser.TINYINT

6

DBEventParser.SMALLINT

7

DBEventParser.INT

8

DBEventParser.BIGINT

30

DBEventParser.USMALLINT

31

DBEventParser.UINT

32

DBEventParser.UBIGINT

33

DBEventParser.REAL

9

DBEventParser.FLOAT

10

DBEventParser.BIT

11

DBEventParser.DATETIME

12

DBEventParser.SMALLDATETIME

13

DBEventParser.MONEY

14

DBEventParser.SMALLMONEY

15

DBEventParser.NUMERIC

16

DBEventParser.DECIMAL

17

DBEventParser.VARCHAR

18

DBEventParser.VARBINARY

19

DBEventParser.DATE

27

DBEventParser.TIME

28