Movatterモバイル変換


[0]ホーム

URL:



          
Java™ Platform
Standard Ed. 6

Uses of Class
java.sql.Date

java.sqlProvides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language. 
javax.sqlProvides the API for server side data source access and processing fromthe Java programming language. 
javax.sql.rowsetStandard interfaces and base classes for JDBCRowSetimplementations. 
javax.sql.rowset.serialProvides utility classes to allow serializable mappings between SQL typesand data types in the Java programming language. 
 

 

Methods injava.sql that returnDate
ResultSet.getDate(int columnIndex)
          Retrieves the value of the designated column in the current row of thisResultSet object as ajava.sql.Date object in the Java programming language.
CallableStatement.getDate(int parameterIndex)
          Retrieves the value of the designated JDBCDATE parameter as ajava.sql.Date object.
ResultSet.getDate(int columnIndex,Calendar cal)
          Retrieves the value of the designated column in the current row of thisResultSet object as ajava.sql.Date object in the Java programming language.
CallableStatement.getDate(int parameterIndex,Calendar cal)
          Retrieves the value of the designated JDBCDATE parameter as ajava.sql.Date object, using the givenCalendar object to construct the date.
ResultSet.getDate(String columnLabel)
          Retrieves the value of the designated column in the current row of thisResultSet object as ajava.sql.Date object in the Java programming language.
CallableStatement.getDate(String parameterName)
          Retrieves the value of a JDBCDATE parameter as ajava.sql.Date object.
ResultSet.getDate(String columnLabel,Calendar cal)
          Retrieves the value of the designated column in the current row of thisResultSet object as ajava.sql.Date object in the Java programming language.
CallableStatement.getDate(String parameterName,Calendar cal)
          Retrieves the value of a JDBCDATE parameter as ajava.sql.Date object, using the givenCalendar object to construct the date.
SQLInput.readDate()
          Reads the next attribute in the stream and returns it as ajava.sql.Date object.
Date.valueOf(String s)
          Converts a string in JDBC date escape format to aDate value.
 

Methods injava.sql with parameters of typeDate
PreparedStatement.setDate(int parameterIndex,Date x)
          Sets the designated parameter to the givenjava.sql.Date value using the default time zone of the virtual machine that is running the application.
PreparedStatement.setDate(int parameterIndex,Date x,Calendar cal)
          Sets the designated parameter to the givenjava.sql.Date value, using the givenCalendar object.
CallableStatement.setDate(String parameterName,Date x)
          Sets the designated parameter to the givenjava.sql.Date value using the default time zone of the virtual machine that is running the application.
CallableStatement.setDate(String parameterName,Date x,Calendar cal)
          Sets the designated parameter to the givenjava.sql.Date value, using the givenCalendar object.
ResultSet.updateDate(int columnIndex,Date x)
          Updates the designated column with ajava.sql.Date value.
ResultSet.updateDate(String columnLabel,Date x)
          Updates the designated column with ajava.sql.Date value.
SQLOutput.writeDate(Date x)
          Writes the next attribute to the stream as a java.sql.Date object.
 

 

Methods injavax.sql with parameters of typeDate
RowSet.setDate(int parameterIndex,Date x)
          Sets the designated parameter in thisRowSet object's command to the givenjava.sql.Date value.
RowSet.setDate(int parameterIndex,Date x,Calendar cal)
          Sets the designated parameter in thisRowSet object's command with the givenjava.sql.Date value.
RowSet.setDate(String parameterName,Date x)
          Sets the designated parameter to the givenjava.sql.Date value using the default time zone of the virtual machine that is running the application.
RowSet.setDate(String parameterName,Date x,Calendar cal)
          Sets the designated parameter to the givenjava.sql.Date value, using the givenCalendar object.
 

 

Methods injavax.sql.rowset with parameters of typeDate
BaseRowSet.setDate(int parameterIndex,Date x)
          Sets the designated parameter to the givenjava.sql.Date value.
BaseRowSet.setDate(int parameterIndex,Date x,Calendar cal)
          Sets the designated parameter to the givenjava.sql.Date object.
BaseRowSet.setDate(String parameterName,Date x)
          Sets the designated parameter to the givenjava.sql.Date value using the default time zone of the virtual machine that is running the application.
BaseRowSet.setDate(String parameterName,Date x,Calendar cal)
          Sets the designated parameter to the givenjava.sql.Date value, using the givenCalendar object.
 

 

Methods injavax.sql.rowset.serial that returnDate
SQLInputImpl.readDate()
          Retrieves the next attribute in thisSQLInputImpl as ajava.sql.Date object.
 

Methods injavax.sql.rowset.serial with parameters of typeDate
SQLOutputImpl.writeDate(Date x)
          Writes ajava.sql.Date object in the Java programming language to thisSQLOutputImpl object.
 


          
Java™ Platform
Standard Ed. 6


[8]ページ先頭

©2009-2025 Movatter.jp