SQL Server JDBC 接続プロパティ

【PR】当サイトはプロモーションが含まれています。

SQL Server JDBC Driver 12.4

namedescriptionrequiredchoices
applicationIntentDeclares the application workload type when connecting to a server. Possible values are ReadOnly and ReadWrite.falsereadonly,readwrite
applicationNameThe application name for SQL Server profiling and logging tools.false
columnEncryptionSettingThe column encryption setting.falseDisabled,Enabled
enclaveAttestationUrlThe enclave attestation URL.false
enclaveAttestationProtocolThe enclave attestation protocol.false
databaseNameThe name of the database to connect to.false
disableStatementPoolingDisables the statement pooling feature.falsetrue,false
encryptDetermines if Secure Sockets Layer (SSL) encryption should be used between the client and the server.falseFalse,No,Optional,True,Mandatory,Strict
serverCertificateThe path to the server certificate file.false
prepareMethodDetermines the prepare method used in the driver.falseprepexec,prepare
failoverPartnerThe name of the failover server used in a database mirroring configuration.false
hostNameInCertificateThe host name to be used when validating the SQL Server Secure Sockets Layer (SSL) certificate.false
instanceNameThe name of the SQL Server instance to connect to.false
integratedSecurityIndicates whether Windows authentication will be used to connect to SQL Server.falsetrue,false
keyStoreAuthenticationThe name that identifies a key store.falseJavaKeyStorePassword
keyStoreSecretThe authentication secret or information needed to locate the secret.false
keyStoreLocationThe key store location.false
lastUpdateCountEnsures that only the last update count is returned from an SQL statement passed to the server.falsetrue,false
lockTimeoutThe number of milliseconds to wait before the database reports a lock time-out.false
loginTimeoutThe number of seconds the driver should wait before timing out a failed connection.false
multiSubnetFailoverIndicates that the application is connecting to the Availability Group Listener of an Availability Group or Failover Cluster Instance.falsetrue,false
packetSizeThe network packet size used to communicate with SQL Server.false
passwordThe database password.true
portNumberThe TCP port where an instance of SQL Server is listening.false
queryTimeoutThe number of seconds to wait before the database reports a query time-out.false
responseBufferingControls the adaptive buffering behavior to allow the application to process large result sets without requiring server cursors.falseadaptive,full
selectMethodEnables the application to use server cursors to process forward only, read only result sets.falsedirect,cursor
sendStringParametersAsUnicodeDetermines if the string parameters are sent to the server as Unicode or the database's character set.falsetrue,false
serverNameAsACETranslates the serverName from Unicode to ASCII Compatible Encoding (ACE), as defined by the ToASCII operation of RFC 3490.falsetrue,false
domainThe Windows domain to authenticate in using NTLM.false
serverNameThe computer running SQL Server.false
iPAddressPreferenceThe preferred type of IP address.falseIPv4First,IPv6First,UsePlatformDefault
serverSpnSQL Server SPN.false
realmThe realm for Kerberos authentication.false
socketFactoryClassThe class to instantiate as the SocketFactory for connectionsfalse
socketFactoryConstructorArgThe optional argument to pass to the constructor specified by socketFactoryClassfalse
TransparentNetworkIPResolutionDetermines whether to use the Transparent Network IP Resolution feature.falsetrue,false
trustServerCertificateDetermines if the driver should validate the SQL Server Secure Sockets Layer (SSL) certificate.falsetrue,false
trustStoreTypeKeyStore type.false
trustStoreThe path to the certificate TrustStore file.false
trustStorePasswordThe password used to check the integrity of the trust store data.false
trustManagerClassThe class to instantiate as the TrustManager for SSL connections.false
trustManagerConstructorArgThe optional argument to pass to the constructor specified by trustManagerClass.false
accessTokenCallbackA SQLServerAccessTokenCallback object which is used to call a callback method to return an access token.false
accessTokenCallbackClassThe class to instantiate as the SQLServerAccessTokenCallback for acquiring tokens.false
replicationThis setting tells the server if the connection is used for replication.falsetrue,false
sendTimeAsDatetimeDetermines whether to use the SQL Server datetime data type to send java.sql.Time values to the database.falsetrue,false
datetimeParameterTypeDetermines the datatype to use for datetime and timestamp values. Valid options are: datetime, datetime2 or datetimeoffsetfalsedatetime,datetime2,datetimeoffset
userThe database user.true
workstationIDThe host name of the workstation.false
xopenStatesDetermines if the driver returns XOPEN-compliant SQL state codes in exceptions.falsetrue,false
authenticationSchemeThe authentication scheme to be used for integrated authentication.falsejavaKerberos,nativeAuthentication,ntlm
authenticationThe authentication to use.falseNotSpecified,SqlPassword,ActiveDirectoryPassword,ActiveDirectoryIntegrated,ActiveDirectoryManagedIdentity,ActiveDirectoryServicePrincipal,ActiveDirectoryServicePrincipalCertificate,ActiveDirectoryInteractive
socketTimeoutThe number of milliseconds to wait before the java.net.SocketTimeoutException is raised.false
fipsDetermines if FIPS mode is enabled.falsetrue,false
enablePrepareOnFirstPreparedStatementCallThis setting specifies whether a prepared statement is prepared (sp_prepexec) on first use (property=true) or on second after first calling sp_executesql (property=false).falsetrue,false
serverPreparedStatementDiscardThresholdThe threshold for when to close discarded prepare statements on the server (calling a batch of sp_unprepares). A value of 1 or less will cause sp_unprepare to be called immediately on PreparedStatment close.false
statementPoolingCacheSizeThis setting specifies the size of the prepared statement cache for a connection. A value less than 1 means no cache.false
jaasConfigurationNameLogin configuration file for Kerberos authentication.false
sslProtocolSSL protocol label from TLS, TLSv1, TLSv1.1, and TLSv1.2. The default is TLS.falseTLS,TLSv1,TLSv1.1,TLSv1.2
cancelQueryTimeoutThe number of seconds to wait to cancel sending a query timeout.false
useBulkCopyForBatchInsertWhether the driver will use bulk copy API for batch insert operationsfalsetrue,false
msiClientIdClient Id of User Assigned Managed Identity to be used for generating access token for Azure AD MSI Authenticationfalse
keyVaultProviderClientIdThe client ID used to access the Key Vault where the column encryption master key is stored.false
keyVaultProviderClientKeyThe client key used to access the Key Vault where the column encryption master key is stored.false
useFmtOnlyDetermines whether to enable/disable use of SET FMTONLY to retrieve parameter metadata.falsetrue,false
keyStorePrincipalIdPrincipal Id of Azure Active Directory.false
clientCertificateClient certificate path.false
clientKeyPrivate key file path for client certificate.false
clientKeyPasswordPassword for private key if the private key is password protected.false
delayLoadingLobsBoolean flag which indicates whether the driver will load LOB datatypes into memory.falsetrue,false
sendTemporalDataTypesAsStringForBulkCopyFlag to indicate whether the driver will send temporal datatypes as String value to the server for bulk copy.falsetrue,false
AADSecurePrincipalIdThe Application Id of a registered application which has been granted permission to the database connected.false
AADSecurePrincipalSecretA Secret defined for a registered application which has been granted permission to the database connected.false
maxResultBufferDetermines maximum amount of bytes that can be read during retrieval of result setfalse
connectRetryCountThe maximum number of attempts to reestablish a broken connection.false
connectRetryIntervalThe interval, in seconds, between attempts to reestablish a connection.false

Microsoft SQL Server JDBC Driver Download

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です