SQL Server 2008 JDBC Adapter Limitations

Supported Types

The types supported in this adapter are the following.

Type nameSupportRemarks
BIGINTYes 
INTYes 
SMALLINTYes 
TINYINTYes 
BITYes 
NUMERICYes 
DECIMALYes 
MONEYYes 
SMALLMONEYYes 
FLOATYes 
REALYes 
TIMENo 
DATENo 
SMALLDATETIMEYes 
DATETIMEYes 
DATETIME2No 
DATETIMEOFFSETNo 
CHARLimited 
VARCHARYes 
NCHARYes 
NVARCHARYes 
TEXTYes 
NTEXTYes 
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 Login failed for user '<user name>'. The user name or the password is incorrect. Check [User name] or [Password] of the global resource.
Cannot open database "<database name>" requested by the login. The login failed. The database is invalid. Check [Database name] of the global resource.
TCP/IP connection to the host <host name>, port <port number> has failed. Error: “Connection timed out: no further information. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.” Unable to connect to the database. Check [Host name] of the global resource, or the network.
Invalid object name '<table name>'. The table does not exist. Specify an existing table in [Table name].
Incorrect syntax near ‘<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.
This driver is not configured for integrated authentication. Library for Windows authentication may not be placed. Check the directory where sqljdbc_auth.dll was placed.