I found a code like given below
public static final Object[][] TABLE_COLUMNS = {
{ "HistoryDate", new Integer(Types.TIMESTAMP) }, //java.sql.Type
{ "id", new Integer(Types.VARCHAR) },
{ "SessionId", new Integer(Types.VARCHAR) }};
is above code effective and how? May be I am misunderstanding above code
Type.VARCHAR=12
. Can't we write Integer.valueOf(12);
.