SQL Generator UniDAC 5.2.5 and Lazarus 1.0.14
Posted: Mon 30 Dec 2013 20:12
Hi guys,
I'm facing a strange behavior using UniDAC 5.2.5 on Lazarus 1.0.14 (64 bits).
I'm connecting to a remote MySql database, the connection between the 'TUniConnection' component and the remote database is being stablished, I dropped a 'TUniQuery' component in my form and through the UniQuery Editor option, I'm defining the following statement as the SQL query:
The fields list is being retrieved from the table in the "SQL Generator" sheet, but when I try to generate the queries for the selected table, I have always a "?" where I should have the field parameters. For example, the insert query is being produced like:
Before version 5.2.5 I was using UniDAC 4.6.12 and this option used to work just as I expected. The insert query in the 4.6.12 version is produced like:
Is this a "bug" or there is any detail I'm not paying attention?
I'm facing a strange behavior using UniDAC 5.2.5 on Lazarus 1.0.14 (64 bits).
I'm connecting to a remote MySql database, the connection between the 'TUniConnection' component and the remote database is being stablished, I dropped a 'TUniQuery' component in my form and through the UniQuery Editor option, I'm defining the following statement as the SQL query:
Code: Select all
select * from clientesCode: Select all
INSERT INTO CLIENTES
(CGC, DIV, RAZAO, CIDADE, ...)
VALUES
(?, ?, ?, ?, ...)
Code: Select all
INSERT INTO CLIENTES
(CGC, DIV, RAZAO, CIDADE, ...)
VALUES
(:cgc, :div, :razao, :cidade, ...)