By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
SQL Server's new JDBC driver
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 features, and will support previous versions of SQL Server (6.5).
Barrie Sosinsky (email@example.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.