Fix sql database generation via tools->generate database sql
Review Request #129796 - Created Jan. 8, 2017 and submitted
query parameters are being matched only based on their name. If one parameter starts with the name of another, this leads to conflicts, e.g. :payeeId and :payeeIdentifier --> if both matches are replaced by NULL, this results in the second match being replaced to NULLentifier, which is obviously not intended.
manually executed the rendered SQL statements in Mysql to create the database tables.