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

Where clauses with Date related fields fail on SQL Server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.5.4
    • None
    • Running on Java 8 web server using Jersey to provide a REST API. DB is running on SQL Server 2012.
    • 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

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

              Dates

                Created:
                Updated: