Hi Isomorphic,
You are correct!! Those milliseconds do not have any effect on the SQL statement.
So lets say, the DSRequest sent contains the same date object created initially. Great!!
But what I am trying to demonstrate you is that the SQL query generated applies a Timezone to the date when it creates the Datetime string parameter on the query:
The GMT conversion of the original Date:
and the SQL query statement:
As you see, it applies a +02:00 timezone to date when it creates the SQL query statement.
Would you please tell me if this problem is on a misconfiguration of my SQL Database Server or the SQL driver in order to focus on the DB Server and assume SmartGWT is correct?
Thank you very much and I think I am near the end ;)
Best regards,
Pablo
You are correct!! Those milliseconds do not have any effect on the SQL statement.
So lets say, the DSRequest sent contains the same date object created initially. Great!!
But what I am trying to demonstrate you is that the SQL query generated applies a Timezone to the date when it creates the Datetime string parameter on the query:
The GMT conversion of the original Date:
Code:
Date GMT: 27 Jun 2013 13:19:32 GMT
Code:
=== 2013-06-27 15:19:33,049 [l0-6] INFO SQLDriver - [builtinApplication.testCase_add] Executing SQL update on 'Mysql': INSERT INTO testcase (date) VALUES ('2013-06-27 15:19:32')
Would you please tell me if this problem is on a misconfiguration of my SQL Database Server or the SQL driver in order to focus on the DB Server and assume SmartGWT is correct?
Thank you very much and I think I am near the end ;)
Best regards,
Pablo
Comment