Changes between Initial Version and Version 1 of Ticket #28553, comment 5


Ignore:
Timestamp:
Aug 21, 2019, 9:58:52 PM (5 years ago)
Author:
Kal Sze

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28553, comment 5

    initial v1  
    1 Actually there could be a different problem as well. We were lucky in that the ORM generated SQL where the column types do not match. But what happens when the column types match? I'm afraid you would get a query that doesn't throw an exception but is in fact subtly broken, especially if the values of the differnet columns happen to be similar, in which case it might take a long time for app developers to realize that the query is broken.
     1Actually there could be a different problem as well. We were lucky in that the ORM generated SQL where the data types of the columns do not match. But what happens when the data types of the columns match? I'm afraid you would get a query that doesn't throw an exception but is in fact subtly broken, especially if the values of the different columns happen to be similar, in which case it might take a long time for app developers to realize that the query is broken.
Back to Top