GeezerVison is showing docs.oracle.com — Uses of Class java.sql.Date (Java SE 16 & JDK 16)
Uses of Class java.sql.Date
Package
Description
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
Provides the API for server side data source access and processing from
the Java programming language.
Standard interfaces and base classes for JDBC RowSet
implementations.
Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language.
-
Modifier and Type
Method
Description
CallableStatement.getDate(int parameterIndex)
Retrieves the value of the designated JDBC DATE parameter as a
java.sql.Date object.
Retrieves the value of the designated JDBC DATE parameter as a
java.sql.Date object, using
the given Calendar object
to construct the date.
Retrieves the value of a JDBC DATE parameter as a
java.sql.Date object.
Retrieves the value of a JDBC DATE parameter as a
java.sql.Date object, using
the given Calendar object
to construct the date.
ResultSet.getDate(int columnIndex)
Retrieves the value of the designated column in the current row
of this ResultSet object as
a java.sql.Date object in the Java programming language.
Retrieves the value of the designated column in the current row
of this ResultSet object as a java.sql.Date object
in the Java programming language.
Retrieves the value of the designated column in the current row
of this ResultSet object as
a java.sql.Date object in the Java programming language.
Retrieves the value of the designated column in the current row
of this ResultSet object as a java.sql.Date object
in the Java programming language.
Reads the next attribute in the stream and returns it as a java.sql.Date object.
Converts a string in JDBC date escape format to
a Date value.
Obtains an instance of Date from a LocalDate object
with the same year, month and day of month value as the given
LocalDate.
Modifier and Type
Method
Description
void
Sets the designated parameter to the given java.sql.Date value
using the default time zone of the virtual machine that is running
the application.
void
Sets the designated parameter to the given java.sql.Date value,
using the given Calendar object.
void
Sets the designated parameter to the given java.sql.Date value
using the default time zone of the virtual machine that is running
the application.
void
Sets the designated parameter to the given java.sql.Date value,
using the given Calendar object.
void
Updates the designated column with a java.sql.Date value.
void
Updates the designated column with a java.sql.Date value.
void
Writes the next attribute to the stream as a java.sql.Date object.
-
Modifier and Type
Method
Description
void
Sets the designated parameter in this RowSet object's command
to the given java.sql.Date value.
void
Sets the designated parameter in this RowSet object's command
with the given java.sql.Date value.
void
Sets the designated parameter to the given java.sql.Date value
using the default time zone of the virtual machine that is running
the application.
void
Sets the designated parameter to the given java.sql.Date value,
using the given Calendar object.
-
Modifier and Type
Method
Description
void
Sets the designated parameter to the given java.sql.Date
value.
void
Sets the designated parameter to the given java.sql.Date
object.
void
Sets the designated parameter to the given java.sql.Date value
using the default time zone of the virtual machine that is running
the application.
void
Sets the designated parameter to the given java.sql.Date value,
using the given Calendar object.
-
Modifier and Type
Method
Description
Retrieves the next attribute in this SQLInputImpl as
a java.sql.Date object.
Modifier and Type
Method
Description
void
Writes a java.sql.Date object in the Java programming
language to this SQLOutputImpl object.
|