Tip

SQL Server's new JDBC driver

 

SQL Server's new JDBC driver
Barrie Sosinsky

Your database driver can make a big difference in the speed of data access. SQL Server's new Java JDBC driver based on DataDirect Technology's (www.datadirecttechnologies.com) driver (formerly MERANT) brings the benefits of the new JDBC 3.0 standard to Java developers accessing SQL Server database data sources. JDBC lets you create and manage connections, compose, optimize, and cache SQL statements, and retrieve and process a result set. Version 3.0 provides performance optimization, connection pooling, and a migration path to Sun's connector architecture.

SQL Server's new driver is a Type 4 driver, a pure Java driver for direct-to-database access from a Java program. These so-called "thin" drivers take JDBC calls and translate them into a network protocol used by SQL Server.

SQL's new driver supports connection pooling, keeping a cache of database connection objects available for immediate use when requested a connection. Opening a connection is the most resource-expensive step in database transactions. Additionally the new driver supports distributed transactions, which means that a transaction manager coordinates independent transactional systems. A third feature added is called prepared statement pooling, which caches previously optimized SQL queries, another time savings. DataDirect also sells a commercial version of their driver, which adds many more

    Requires Free Membership to View

features, and will support previous versions of SQL Server (6.5).


Barrie Sosinsky (barries@killerapps.com)is president of consulting company Sosinsky and Associates (Medfield MA). He has written extensively on a variety of computer topics. His company specializes in custom software (database and Web related), training and technical documentation.


This was first published in April 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.