Javatpoint Logo
Javatpoint Logo

java.sql

We have relational databases, from which at many times we need to access the data. For various data processing related matters from RDDBMS we have java.sql package. The various classes in the package are shown below:

Class Description
Date It gives time in milliseconds. It is a wrapper type. It provides sql with dates. The class is declared as:
public class Date extends Date
The class methods are inherited from date class.
DriverManager The class is designed for managing the various JDBC drivers. The class is declared as follows:
public class DriverManager extends Object
The class methods are inherited from Object class.
DriverPropertyInfo The class keeps an account for managing the various properties of JDBC drivers which are required for making a secure connection. The class is declared as follows:
public class DriverPropertyInfo extends Object
The class methods are inherited from Object class.
SQLPermission The class manages the various SQL related permissions which are provided to the accessing objects. The class is declared as follows:
public final class SQLPermission extends BasicPermission
The class methods are inherited from BasicPermission class.
Time It is wrapper class around java.util. The class provides time related information. The class is declared as follows:
public class Time extends Date
The class methods are inherited from Date class.
Timestamp It is wrapper class around java.util. The class allows JDBC API to identify as TIMESTAMP value. The class is declared as follows:
public class Timestamp extends Date
The class methods are inherited from Date class.
Types The class defines various SQL constants. The class is declared as follows:
public class Types extends Object
The class methods are inherited from Object class.
Next Topic#





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA