Upgrade Guides for Genero BDL / 3.00 upgrade guide |
MySQL 5.6.4 TIME and DATETIME types support fractions of seconds that can be used to store DATETIME HOUR TO FRACTION(N) or DATETIME YEAR TO FRACTION(N).
Starting with Genero 3.00, when creating a table in a BDL program with the CREATE TABLE statement, if the MySQL server version is greater or equal to 5.6.4, the types are converted differently, as follows:
This change has no impact if your application is using DATETIME HOUR TO SECOND or DATETIME YEAR TO SECOND. However, it is now possible to store DATETIME HOUR TO FRACTION(N) and DATETIME YEAR TO FRACTION(N) data. The DATETIME YEAR TO FRACTION(N) is typically used to implement data modification timestamps to track user changes.