8.4.11 getParameterMetaData()
- Organization of this subsection
(1) Function
This method returns the ParameterMetaData object that contains meta information for the parameters in this PreparedStatement object. The returned ParameterMetaData object is meta information for parameters acquired from the server when the Connection.prepareStatement() method is executed.
(2) Format
public synchronized ParameterMetaData getParameterMetaData() throws SQLException
(3) Arguments
None.
(4) Return value
This method returns meta information for this PreparedStatement object as a ParametertMetaData object.
(5) Exceptions
The JDBC driver throws an SQLException in the following cases:
-
The PreparedStatement object is closed.
-
The Connection object that created this PreparedStatement object is closed.