SQL Server 2005 JDBC Adapter Limitations

Sales and support for SQL Server 2005 Adapter are finished.

Supported Types

The types supported in this adapter are the following.

Type nameSupportRemarks
BIGINTYes 
INTYes 
SMALLINTYes 
TINYINTYes 
BITYes 
NUMERICYes 
DECIMALYes 
MONEYYes 
SMALLMONEYYes 
FLOATYes 
REALYes 
DATETIMEYes 
SMALLDATETIMEYes 
CHARLimited 
VARCHARYes 
NCHARYes 
NVARCHARYes 
BINARYLimited 
VARBINARYLimited 
IMAGEYes 
VARCHAR(MAX)Yes 
NVARCHAR(MAX)Yes 
VARBINARY(MAX)Limited 
XMLLimited 
SQL_VARIANTNo 
UNIQUEIDENTIFIERNo 

Common to All Operations

Specification Limits

Connection property settings

Property name Description Remarks
sendStringParametersAsUnicode
  • [true]:
    Data will be sent as Unicode.
  • [false]:
    Data will be sent to the server in the default collation. When referring to an index of non-Unicode character data, the performance is enhanced as conversion overhead from Unicode do not occur.
  • Default value is “true”.
  • This property is not effective in ODBC connection.

Read Table

Specification Limits

Execute Select SQL

Specification Limits

None.

Write Table

Specification Limits

Execute Update SQL

Specification Limits

Execute Stored Procedure

Specification Limits

Write by Loader

Specification Limits

Notes

Major Exceptions

Exception name Cause Solution
com.microsoft.sqlserver.jdbc.SQLServerException User '<user name>' cannot login. The user name or the password is incorrect. Check [User name] or [Password] of the global resource.
Cannot open the requested database "<database name>" with this login. Failed to login. The database is invalid. Check [Database name] of the global resource.
TCP/IP connection to the host <host name> and the port <port number> failed. Connection refused: connect. Open the connection properties and check that a SQL Server instance is running in the host, that TCP/IP connection to the port is permitted, and that the TCP connection to the port is not blocked by firewall. Unable to connect to the database. Check [Host name] of the global resource, or the network.
Object name '<table name>' is invalid. The table does not exist. Specify an existing table in [Table name].
There is a syntax error around ‘<table name>’. The table name may not be in accordance with the rules of Transact-SQL standard identifier. Enclose the table specified in [Table name] with quotation marks.
The driver is not configured to perform Windows authentication. Library for Windows authentication may not be placed. Check the directory where sqljdbc_auth.dll was placed.