Package oracle.jdbc
Interface OracleParameterMetaData
-
- All Superinterfaces:
java.sql.ParameterMetaData,java.sql.Wrapper
public interface OracleParameterMetaData extends java.sql.ParameterMetaDataThis interface defines the Oracle extensions to the standard JDBC interfacejava.sql.ParameterMetaData. For pre-JDK 1.4 applications, this interface provides the equivalent functions injava.sql.ParameterMetaData. Applications can usejava.sql.ParameterMetaDatawhere they do not make use of Oracle extensions. However, when an application uses the Oracle extensions tojava.sql.ParameterMetaData, it must useoracle.jdbc.OracleParameterMetaData.This is an interface that can be used to get information about the types and properties of the parameters in a
PreparedStatementobject.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidquery(java.sql.Connection conn)Re-query the database for parameter types.
-
-
-
Method Detail
-
query
void query(java.sql.Connection conn) throws java.sql.SQLExceptionRe-query the database for parameter types. This method will re-query the types in the database without re-parsing the statement (if possible). This method will parse the statement again if the ParameterMetadata cache is enabled and oracle.jdbc.parameterMetadataCacheIncludeParsing (system property) is set to false (default value). For any other use case, this method will re-use the parsing information and only re-issue the database queries.- Parameters:
conn- - the connection to use to query the database.- Throws:
java.sql.SQLException- - if there was an error processing the queries.
-
-