Setting the following connection properties for the SQL Server driver as described in the following list can improve performance for your applications. If set to 0, the driver caches long data in result sets in memory. The amount of time, in seconds, the driver waits for a connection to be established before returning control to the application and throwing a timeout exception. The default is noDescribe. Click the following links for specific information about each driver:

Uploader: Moogugal
Date Added: 16 January 2009
File Size: 5.76 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 58120
Price: Free* [*Free Regsitration Required]

However, if the following variables are true for your application, the best setting for this property is cursor, which means use server-side database cursors: Microsoft SQL Server only.

The MS SQL Server Driver

Performance sqlserverdrver behavior of the driver are affected by this property, which is defined as a hint because the driver may not always be able to satisfy the requested method. If set to 1 the defaultthe driver checks the data type being requested against the data type of the table column storing the data.

Security features set in your browser can prevent the Performance Wizard from launching. See Authentication for more information about configuring authentication.

If this property is not specified, the truststore directory is specified by the javax. Determines the number of bytes for each database protocol sqlservr transferred from the database server to the client machine Microsoft SQL Server refers to this packet as a network packet.

Multiple commands must be separated by semicolons. The classname and connection URL syntax for the Sybase driver are: The driver does not apply sqlserverdiver data conversions to the XML data returned from the database server.


Use this value only if your application retrieves columns in the order in which they are defined in the result set. If set to false the default dstek, the cancel request does not time out.

Network authentication must be provided by NTLM on one of the following operating systems:. Click the following links for specific information about each driver: The Wizard runs as an applet within a browser window. Own and Others Deletes are visible.

By default, the SQL Server driver takes advantage of the user name and password maintained by the operating system to authenticate users to the database. The setFetchSize method can be used to control the number of rows that are retrieved for each request when forward-only result sets are returned. InsensitiveResultSetBufferSize To improve performance when using scroll-insensitive result sets, the driver can cache the result set data in memory instead of writing it to disk.

The default is false. If your application requires table name information, the SQL Server driver can return table name information in ResultSet metadata for Select statements. If you install the driver in a directory that is not on the Windows system path, perform one of the following actions to ensure the driver can load the DLLs:. Otherwise, the getTableName method may return an empty string for each column in the result set.

To improve performance, you can disable long data caching if your application retrieves columns in the order in which they are defined in the result set.


If set to false the defaultthe driver uses its internal algorithm when converting double or float values to string. If an exception is generated when rolling back a transaction, the exception is written to the sqljdbc.

Data Source and Driver Classes

The cursor method is useful for queries that produce a large amount of data, particularly if multiple open result sets are used. Positive integer, -1, or zero 0. See Performance Considerations for information about configuring this property for optimal performance.

By default, the SQL Server driver uses client-side cursors because this type of cursor can work with any sqlserverxriver set type. If set to x, where x is a positive integer, the driver caches long data in sqlerver sets in memory and uses this value to set the size sqlserrverdriver KB of the memory buffer for caching result set data. Others Inserts are not visible. When server-side updatable cursors are used with sensitive result sets that were generated from a database table that contains a primary key, the following changes you make to the result set are visible: All connection string property names are case-insensitive.