I have been evaluating HXTT Access v2.1 (JDBC) in Linux for one of the MDB files in which there is a column of "OLE OBJECT" datatype.
It is just to bring to your notice that, since the JDBC API expects that ResultSetMetaData should return the ColumnType as an integer as specified in the java.sql.Types, which implies that OLE OBJECT type must return 1111 which is Types.OTHER. However, that is not the case in HXTT Access and it is returning 1114.
So, can you please explain why is this deviation?
>which implies that OLE OBJECT type must return 1111 which is Types.OTHER
Because you can't know more from Types.OTHER, and some database are using user-defined types to tell programmers more information. For MS Access,
Types_OLE = Types.OTHER+3
Types_CHARACTER = Types.OTHER+4
Types_UNSIGNED_BYTE = Types.OTHER+5
Types_GUID = Types.OTHER+6
If you find type>=Types.OTHER, it means that you meet an undefined data type. You can use ResultSet.getObject() or ResultSet.getBytes() to return the raw data.
Thanks a lot for the clarification.