Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

HXTT ACCESS
OLE datatype
Varun
2007-04-17 04:16:04.0
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.0
>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.0
Thanks a lot for the clarification.

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap