Mark Struberg created OPENJPA-2853:
--------------------------------------

             Summary: [MSSQL Server] support sendTimeAsDatetime handling
                 Key: OPENJPA-2853
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2853
             Project: OpenJPA
          Issue Type: Improvement
          Components: jdbc
    Affects Versions: 3.1.2
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 3.1.3


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}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to