Uploaded image for project: 'Apache MetaModel'
  1. Apache MetaModel
  2. METAMODEL-1112

Where clauses with Date related fields fail on SQL Server

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.5.4
    • Fix Version/s: None
    • Environment:
      Running on Java 8 web server using Jersey to provide a REST API. DB is running on SQL Server 2012.
    • Flags:
      Important

      Description

      Hi, I noticed that when converting a query to SQL and using a condition that includes a date/time field the SQL doesn't run on SQL Server as it adds 'TIMESTAMP' before the value we are comparing. This is invalid syntax and I am not sure why this is added.

      Thanks,
      Harris Mirza

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mirza.harris@gmail.com Harris Mirza
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: