May 2001
Intermediate to advanced
1088 pages
30h 13m
English
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).
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) ...
Read now
Unlock full access