The release notes for new versions or patches of the product will be included at the top in the order in which they were released.
Flex2SQL Unicode Edition v17.0.9628.0¶
Flex2SQL Unicode Edition v17.0.9628.0 was released on 2023-01-31.
MSOLEDBSQL v19.x Support: This build supports the latest v19.x Microsoft OLE DB Driver for SQL Server. This new version of MSOLEDBSQL has some new defaults that are meant to be more secure, but by default will break the use with your application. For this release (and at least the next the next release) of Flex2SQL, the driver defaults to make things work the way they have in the past. In future version we will be changing to a more secure default that will require action on your part to either use the more secure connection settings or to set them a less secure default. Please keep up with our blog<https://www.mertech.com/blog>` to learn more.
PROD-1057 The unicode driver was causing a Studio crash during file creation. Fixed.
PROD-556 Postgresql driver had a bug in the trial obscured data feature. Fixed
PROD-571 MySQL driver had issues with some utf8mb4 character sorting. Fixed.
Flex2SQL Unicode Edition v17.0.9586.0¶
Flex2SQL Unicode Edition v17.0.9586.0 was released on 2022-12-20.
PROD-571 The MySQL driver was having an issue with DF_HIGH values in varchar columns depending on the collation used. This could cause records to be skipped at the “end” of a table. This would only happen in very rare circumstances where the record was using only supplemental characters (4-byte).
PROD-1038 Trace Control wasn’t showing MS-SQL Unicode as a valid driver.
Flex2SQL Unicode Edition v17.0.9582.0¶
Flex2SQL Unicode Edition v17.0.9582.0 was released on 2022-12-14.
MySQL/MariaDB Unicode Driver: The latest release of Flex2SQL v17 Unicode Edition now includes a 64-bit Unicode MySQL/MariaDB driver. Please see the Conversion Guide to learn more. Note that the deployment tool for MySQL Unicode Edition will be released at a future date.
SQL Server 2022 Support: This build supports Microsoft SQL Server 2022 if you have an updated license. Licenses issued before 2022-12-14 cannot connect to SQL Server 2022.
PostgreSQL v15.x Support: This build supports PostgreSQL v15.1 if you have an updated license. Licenses issued before 2022-12-14 cannot connect to PostgreSQL v15.1.
FLEX-88 Driver crash occurs when doing FIND GE on a single record table with DF_FILE_STATIC mode.
FLEX-150 In MS-SQL when converting a table containing DF_HIGH dates, the driver crashes. The issue is that DataFlex limits dates to 2500-12-31 and dates higher than that work in Julian form, but not date form. Now we detect dates higher than 2500-12-31 (normally it ends up being dates of 2737-11-06 or Julian 999999) and set them to 2500-12-31 (Julian 913490).
FLEX-275 MySQL driver was not saving LOB values when inside a transaction.
FLEX-390 In Oracle driver, when an expired license is used, the driver reports that it is the wrong database version which is the incorrect error message.
FLEX-452 PostgreSQL driver returned blank string for f2s_table_tablespace and f2s_index_tablespace when the table and index were created in the pg_default tablespace instead of return pg_default.
FLEX-463 When using the driver from the DataFlex Studio, an expired license is not reported making it difficult to debug why the driver isn’t working.
FLEX-470 Warning message in trace file about odd number of digits in packed decimal columns doesn’t really matter anymore. Removed.
Flex2SQL Unicode Edition v17.0.9462.0¶
Flex2SQL Unicode Edition v17.0.9462.0 was released on 2022-08-18.
FLEX-445 DriverDef XML files had some outdated/inaccurate information that was causing warnings in the Studio.
Flex2SQL Unicode Edition v17.0.9454.0¶
Flex2SQL Unicode Edition v17.0.9454.0 was released on 2022-08-10.
FLEX-437 Updated internal max versions used on evaluation licenses.
Flex2SQL Unicode Edition v17.0.9440.0¶
Flex2SQL Unicode Edition v17.0.9440.0 was released on 2022-07-27.
The latest release of Flex2SQL v17 Unicode Edition now includes a 64-bit Unicode PostgreSQL driver. Additionally, the latest builds have support for Dataflex v20.1 which fixes bugs related to Datetimes. Flex2SQL no longer has to create datetime datatypes manually as Dataflex properly converts between VT_DATE (a variant containing a Datetime) and native Dataflex Datetime types. Lastly, all of the Unicode drivers now support the DF_DATABASE_IDENTIFIER_QUOTE attribute.
FLEX-420 - Oracle driver DF_RAW columns returning corrupt data.
FLEX-423 - MS SQL Driver hangs when using f2s_mssql_attach_db.
FLEX-428 - MDS Support Utility doesn’t recognize DF 2022.
Flex2SQL Unicode Edition v17.0.9197.3¶
Flex2SQL Unicode Edition v17.0.9197.3 was released on 2021-11-25.
Flex2SQL v17 Unicode Edition is the largest release of Flex2SQL in recent history. These release notes will give you a very brief overview of the areas of the product that have changed. Be sure to click the links to learn more about each topic.
The initial release includes 32-bit and 64-bit Unicode drivers for MS-SQL and Oracle. These new drivers will only work on DataFlex version 20 or greater. A Conversion Guide has been added to the documentation which will give you a detailed list of changes to the driver and what you’ll need to change in your code to use our new drivers. Additionally this guide explains how you can convert your database to Unicode.
One change to call special attention to is our new Code Complete support. All Flex2SQL commands and attributes will automatically popup as you’re writing code in the DF Studio. This is a feature many developers have been clamoring for and it’s finally here! You don’t need to do anything to make this work. Just include our f2s.pkg in your code and you’re good to go!
Datetime Handling - All dates & datetimes are now handled as native types. No more datetime string format conflicts!
New Embedded SQL Interface - An entirely new eSQL interface allows statements to be called repeatedly with different parameters and even improves support for parameterized queries.
ANSI Support Removed - Because this driver is unicode ONLY, all of the logic related to OEM-to-ANSI and ANSI codepages has been removed from the product. This driver cannot be used with an ANSI database that contains anything beyond the first 127 ASCII characters.
Inverse Key Column Support Limited - Inverse key columns meant for descending indexes don’t have a logical equivalent in unicode and are no longer supported. Other uses of inverse key columns are still supported.
Driver/License Name Changes - Our new unicode drivers have been renamed. This means that your INT files/filelist must be updated. The migration utility will detect this situation and offer to batch update your filelist and/or INT files.
New Commands - These new commands will help you convert existing code with our conceptually new interface with ease. A new
f2s_activate_drivercommand will load and verify our driver using smarter error handling.
Simple Command Replacements - These are commands that have been renamed to fit our new “f2s” naming scheme.
Commands with syntax changes - These commands have been renamed and also have changes in how they’re used.
Commands replaced by attributes - These commands (mostly getters/setters) have been replaced with attributes which inherently have a getter/setter interface via the Get_Attribute/Set_Attribute commands built into DataFlex.
Renamed Attributes - These are existing attributes that have been renamed to fit our new “f2s” naming scheme.
Commands removed - Many commands that were specific to ANSI/OEM support have been removed along with commands that were only used in very old versions of DataFlex.
Attributes removed - As part of our interface cleanup, certain older or rarely used attributes were removed.
f2s_esql.pkg - This is a class based embedded SQL interface. It is an alternative interface to our new embedded sql commands. Expect this package to be updated with new features that just can’t be duplicated via the command interface.
cMertechImageParser.pkg - This package lets you embedded complex SQL without line continuation syntax. It does this by using the VERY old image format from early version of DataFlex. Using this new interface allows very large or complicated SQL statements to be embedded and used in your code as-is. No need to move parts of the SQL to a string and then add to it. One line of code is all it takes to load a huge SQL statement.
cMertechStructAnalyzer.pkg - Mertech released a version of this many years ago. This new version allows you to load a structure from an array, file buffer, or Data Dictionary with a single line of code. This is especially useful when building Thriftly based web APIs. The amount of “plumbing” code needed to extract data from a structure and then to put data back into a structure is drastically reduced using this new package that is included with Flex2SQL.
Online Documentation - We are moving all of our documentation online. Note that this is an on-going process and it will be updated regularly.
New Command Reference - All of the renamed/new commands have brand new documentation with better examples and explanations. Each command includes a reference to the old command it replaces and also related commands. Some commands include specialized notes to help avoid common pitfalls or to clarify more complicated usage patterns.
New Attribute Reference - All of the renamed/new/replacement attributes have new documentation with examples and explanations of when, where and how to use that attribute. If an attribute is only usable with a certain driver this is noted as well. Some attributes have optional syntax and where this is the case examples are given of how to use that optional syntax as well.