Publish date: 2008-05-12

IBProvider v3.0.0.4047. New implementation of the data types converter

New implementation of the data type’s converter is available for all IBProvider versions:

  • IBProvider v.
  • IBProvider v.
  • IBProvider v.

In current releases we remove the most old source code of our OLE DB Provider. The first implementation of the type converter was coded at January 2000. The main update reasons are more simple architecture and faster features implementation.

General improvements

  • Test system was improved and found bugs were fixed. More than 15 000 tests coded.
  • Stricter control over the type conversion process.
  • Rounding for numeric conversion.
  • Support of the FILETIME OLE DB type.
  • IConvertType::CanConvert implementation was improved.
  • OLE DB types storage was optimized.

Date conversion improvements

  • Embedded string to date converter.
    Supported date formats are:
    • YYYY-MM-DD
    • DD.MM.YYYY
    Supported time formats are:
    • HH:MM
    • HH:MM:SS
  • Correct conversion for 2 digits year presentation.

Data Type converter source codes are available as a part of the IBProvider Professional Edition. See lib/ole_lib/oledb/oledb_variant.h file and classes: DBVARIANT, basic_dbvariant.

Test system for type converter is available in TestCode/lib/ole_lib/oledb/variant/test_cvt folder.

ODBC Escape Sequences Parser

Algorithm for avoiding Year 2000 problem has small bug fixes.

Publish date: 2008-05-12. Copyright: IBProvider. This material may be reproduced on other web sites, without written permission but link required.