JDBC 4 is currently in Early Draft Review in the JCP (JSR 221). The proposed spec focuses on ease-of-use and programmer productivity, and defines support for SQL 2003 data types, including SQL's native XML type. A new Artima article describes the most important new features.
While prior JDBC versions focused on incremental improvements providing functionality to J2EE application servers, JDBC 4's key priority is to make it easier for developers to work directly with the JDBC API. Much of JDBC 4's ease-of-development features are a direct result of new capabilities available in J2SE 1.5.
JDBC 4 also introduces several SQL 2003 features, including a Java-specific mapping for the new XML SQL type, support for national character sets, and exposes to tools more information about the state of database connections and statements.
-
Artima Article: Upcoming Features in JDBC 4 (3 messages)
- Posted by: Frank Sommers
- Posted on: September 08 2005 12:55 EDT
Threaded Messages (3)
- Fine Grained Exceptions by Kim Pepper on September 08 2005 18:02 EDT
- Arrays and Struct by Matt Giacomini on September 09 2005 13:05 EDT
- Artima Article: Upcoming Features in JDBC 4 by rory Winston on September 10 2005 06:38 EDT
-
Fine Grained Exceptions[ Go to top ]
- Posted by: Kim Pepper
- Posted on: September 08 2005 18:02 EDT
- in response to Frank Sommers
It's good to see the inclusion of fine grained exceptions in JDBC4. It's been a real benefit using the Spring Framework exception translation, and it seems JDBC4 will be good enough to replace it.
Kim Pepper -
Arrays and Struct[ Go to top ]
- Posted by: Matt Giacomini
- Posted on: September 09 2005 13:05 EDT
- in response to Frank Sommers
I would like to see better support for Array and Struct (database objects), and a cleaner way to access LOBS.
I'm glad to see the better XML and Connection Pool support. -
Artima Article: Upcoming Features in JDBC 4[ Go to top ]
- Posted by: rory Winston
- Posted on: September 10 2005 06:38 EDT
- in response to Frank Sommers
Better LOB support is definitely a good thing. The query mapping mechanism proposed for JDBC 4.0 reminds me a lot of Spring's JDBC mapping facility.