You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is "SELECT NOW()" with default 1 sec precision. This query is being used to retrieve timestamp from the server.
But changing it to return value including miliseconds causes DatabaseQueryMechanism method updateObjectForWriteWithChangeSet() to throw an exception because
introwCount = updateObject();
call of updateObject() returns 0.
MySQLPlatform method appendTimestamp(java.sql.Timestamp, Writer) also produces SQL fragment with 1 sec precision and there may be few more places in this class.
The text was updated successfully, but these errors were encountered:
@Versionin precission is 1 sec is quite a long time those days.
There are few places in the code which need changes:
MySQLPlatform
:Currently there is
"SELECT NOW()"
with default 1 sec precision. This query is being used to retrieve timestamp from the server.But changing it to return value including miliseconds causes
DatabaseQueryMechanism
methodupdateObjectForWriteWithChangeSet()
to throw an exception becausecall of
updateObject()
returns 0.MySQLPlatform
methodappendTimestamp(java.sql.Timestamp, Writer)
also produces SQL fragment with 1 sec precision and there may be few more places in this class.The text was updated successfully, but these errors were encountered: