Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2853

[MSSQL Server] support sendTimeAsDatetime handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.2
    • 3.2.0
    • jdbc
    • None

    Description

      Microsoft SQL Server handles Time values in 2 different ways.

      https://docs.microsoft.com/en-us/sql/connect/jdbc/configuring-how-java-sql-time-values-are-sent-to-the-server?view=sql-server-ver15

      One way to make the SQLServer JDBC driver understand java.sql.Time is to add

      Depending on the configuration one can now enableĀ sendTimeAsString in the SQLServerDictionary

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: