Showing posts with label sql server. Show all posts
Showing posts with label sql server. Show all posts

Thursday, 18 February 2016

[JDBC] jTDS SQL Server JDBC Driver Properties

jTDS SQL Server JDBC Driver

Property NameDescriptionReqiredChoicesSample Value
PREPARESQLUse stored procedures for prepared statements.false
0
1
2
3
3
SERVERTYPEThe type of database (1 is SQL Server, 2 is Sybase).true
1
2
1
DATABASENAMEThe database name.falsemaster
XAEMULATIONSet to false to use the Microsoft Distributed Transaction Coordinator.false
true
false
true
PROGNAMEThe program name advertised by the driver.falsejTDS
LOGINTIMEOUTThe time to wait for a successful login before timing out.false0
MACADDRESSHex-encoded client MAC address.false000000000000
USEJCIFSForce use of jCIFS library on Windows for connecting via named pipes.falsefalse
SSLSet the SSL level.false
off
request
require
authenticate
off
PASSWORDThe database password.falsebtc0btc
LOBBUFFERThe amount of LOB data to buffer in memory before caching to disk.false32768
TCPNODELAYEnable/disable TCP_NODELAYfalse
true
false
true
LASTUPDATECOUNTReturn only the last update count on executeUpdate.false
true
false
true
CACHEMETADATASet to true to enable the caching of column meta data for prepared statements.false
true
false
false
SENDSTRINGPARAMETERSASUNICODEIf strings should be sent as unicode values.false
true
false
true
bufferMinPacketsThe minimum number of packets per statement to buffer to memory.false8
SOCKETKEEPALIVEUse TCP/IP socket keep alive feature.falsefalse
BUFFERDIRThe directory to buffer data to.falseC:\Users\ADMINI~1\AppData\Local\Temp
DOMAINThe domain used for authentication.false
INSTANCEThe database server instance.false
TDSThe database server protocol.false
4.2
5.0
7.0
8.0
8.0
WSIDWorkstation ID or client host name override. Will be stored in master.dbo.sysprocesses, column hostname.false
LOGFILESet the name of a file for the capture of logging information.false
bufferMaxMemoryThe global buffer memory limit for all connections (in kilobytes).false1024
BATCHSIZEThe number of statements to submit at once. Batches are broken up in pieces this large.false0
CHARSETServer character set for non-Unicode character values.false
SERVERNAMEThe database server hostname.true192.168.0.88
USECURSORSUse SQL Server fast forward only result sets for forward only result sets.false
true
false
false
BINDADDRESSThe IP address of the local interface that jTDS should bind to when connecting to a database via TCP/IP.false
PORTNUMBERThe database server port number.false1433
MAXSTATEMENTSThe maximum number of statements to keep open. This is only a target for the cache.false500
USELOBSMap large types (IMAGE and TEXT/NTEXT) to LOBs vs. String/byte[].false
true
false
true
APPNAMEThe application name advertised by the driver.falsejTDS
SOCKETTIMEOUTThe TCP/IP socket timeout value in seconds or 0 for no timeout.false0
USENTLMV2Set to true to send LMv2/NTLMv2 responses when using Windows authenticationfalsenull
LANGUAGEThe language for server messages.false
USERThe database user.falsesa
PACKETSIZEThe network packet size (a multiple of 512).false0
NAMEDPIPEUse named pipes to connect instead of TCP/IP sockets.false
true
false
false
PROCESSIDThe process ID reported by the driver.false123

Wednesday, 17 February 2016

[JDBC] Microsoft SQL Server JDBC Driver Properties

Microsoft SQL Server JDBC Driver

Property NameDescriptionReqiredChoicesSample Value
applicationNameSQL Server 프로파일링 및 로깅 도구에 대한 응용 프로그램 이름입니다.falseMicrosoft SQL Server JDBC Driver
databaseName연결되는 데이터베이스의 이름입니다.falsemaster
disableStatementPooling문 풀링 기능을 해제합니다.false
true
true
encryptSSL(Secure Sockets Layer) 암호화를 클라이언트와 서버 사이에서 사용해야 할지 여부를 결정합니다.false
true
false
false
failoverPartner데이터베이스 미러링 구성에 사용되는 장애 조치 서버의 이름입니다.false
hostNameInCertificateSQL Server SSL(Secure Sockets Layer) 인증서 유효성을 검사하는 데 사용될 호스트 이름입니다.false
instanceNameSQL Server가 연결되는 인스턴스의 이름입니다.false
integratedSecuritySQL Server 연결에 Windows 인증을 사용할지 여부를 나타냅니다.false
true
false
false
lastUpdateCount서버에 전달되는 SQL 문에서 마지막 업데이트 횟수만 반환되도록 합니다.false
true
false
true
lockTimeout데이터베이스에서 잠김 제한 시간을 보고하기 전에 대기해야 하는 시간(밀리초)입니다.false-1
loginTimeout실패한 연결 제한 시간이 초과되기 전에 드라이버에서 대기해야 하는 시간(초)입니다.false15
packetSizeSQL Server와 통신하는 데 사용되는 네트워크 패킷 크기입니다.false8000
password데이터베이스 암호입니다.true
portNumberSQL Server의 인스턴스가 수신되고 있는 TCP 포트입니다.false1433
responseBuffering적응 버퍼링 동작을 제어하여 응용 프로그램에서 서버 커서를 요구하지 않고 대형 결과 집합을 처리할 수 있도록 합니다.false
adaptive
full
adaptive
selectMethod서버 커서를 사용하도록 응용 프로그램을 설정하여 정방향 전용, 읽기 전용 결과 집합을 처리합니다.false
direct
cursor
direct
sendStringParametersAsUnicode문자열 매개 변수를 유니코드로 서버에 보낼지 또는 데이터베이스의 문자 집합에 보낼지 여부를 결정합니다.false
true
false
true
serverNameSQL Server를 실행하는 컴퓨터입니다.false192.168.0.88
trustServerCertificate드라이버에서 SQL Server SSL(Secure Sockets Layer) 인증서의 유효성을 확인해야 할지 여부를 결정합니다.false
true
false
false
trustStore인증서 신뢰 저장 파일에 대한 경로입니다.false
trustStorePassword신뢰 저장 데이터의 무결성을 확인하는 데 사용되는 암호입니다.false
sendTimeAsDatetimeSQL Server datetime 데이터 형식을 사용하여 java.sql.Time 값을 데이터베이스로 보낼지 여부를 결정합니다.false
true
false
true
user데이터베이스 사용자입니다.truesa
workstationID워크스테이션의 호스트 이름입니다.false
xopenStates드라이버가 예외에서 XOPEN 규격 SQL 상태 코드를 반환할지 여부를 결정합니다.false
true
false
false