Classes

Date

The java.sql.Date class is a wrapper for the java.util.Date class. The only difference between the two is that the java.sql.Date class normalizes the time by zeroing out the milliseconds part of the time (you only get precision down to the second with the java.sql.Date class).

DriverManager

The DriverManager class gives you a single access point for creating database connections without having to first locate the database-specific driver. As of JDBC 2.0, you can also use the DataSource class to locate connections.

deregisterDriver
public static void deregisterDriver(Driver driver) throws SQLException

Removes a driver from the driver manager's list of known drivers.

 getConnection public static Connection getConnection(String url) ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.