Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT ACCESS
OLE datatype
Varun
2007-04-17 04:16:04
Hi

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?

Thanks
Re:OLE datatype
HXTT Support
2007-04-17 09:24:15
>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.
Re:Re:OLE datatype
Varun
2007-04-17 22:29:43
Thanks a lot for the clarification.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap