Export (0) Print
Expand All
Expand Minimize

setSendTimeAsDatetime Method (SQLServerDataSource)

This method was added in SQL Server JDBC Driver 3.0.

Modifies the setting of the sendTimeAsDatetime connection property.


public void setSendTimeAsDatetime(boolean sendTimeAsDateTime)

sendTimeAsDateTime

A Boolean value. When true, causes java.sql.Time values to be sent to the server as SQL Server datetime types. When false, causes java.sql.Time values to be sent to the server as SQL Server time types.

SQLServerDataSource.getSendTimeAsDatetime returns the setting of the sendTimeAsDatetime connection property.

For more information on the sendTimeAsDatetime connection property, see Setting the Connection Properties.

For more information, see Configuring How java.sql.Time Values are Sent to the Server.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft