|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EngineParameterMetaData
An internal api only, mainly for use in the network server. This interface imitates the ParameterMetaData interface from JDBC3.0 We want to provide the ParameterMetaData functionality to JDKs before JDBC3.0. org.apache.derby.iapi.jdbc.EnginePreparedStatement interface returns an object of this type on a getEmbedParameterSetMetaData Once,JDK1.3 stops being supported, this interface can be removed and instead the JDBC 3.0 Class ParameterMetaData can be used
Method Summary | |
---|---|
java.lang.String |
getParameterClassName(int param)
Retrieves the fully-qualified name of the Java class whose instances should be passed to the method PreparedStatement.setObject. |
int |
getParameterCount()
Retrieves the number of parameters in the PreparedStatement object for which this ParameterMetaData object contains information. |
int |
getParameterMode(int param)
Retrieves the designated parameter's mode. |
int |
getParameterType(int param)
Retrieves the designated parameter's SQL type. |
java.lang.String |
getParameterTypeName(int param)
Retrieves the designated parameter's database-specific type name. |
int |
getPrecision(int param)
Retrieves the designated parameter's number of decimal digits. |
int |
getScale(int param)
Retrieves the designated parameter's number of digits to right of the decimal point. |
int |
isNullable(int param)
Retrieves whether null values are allowed in the designated parameter. |
boolean |
isSigned(int param)
Retrieves whether values for the designated parameter can be signed numbers. |
Method Detail |
---|
int getParameterCount()
int isNullable(int param) throws java.sql.SQLException
param
- - the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occursboolean isSigned(int param) throws java.sql.SQLException
param
- - the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occursint getPrecision(int param) throws java.sql.SQLException
param
- - the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occursint getScale(int param) throws java.sql.SQLException
param
- - the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occursint getParameterType(int param) throws java.sql.SQLException
param
- - the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occursjava.lang.String getParameterTypeName(int param) throws java.sql.SQLException
param
- - the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occursjava.lang.String getParameterClassName(int param) throws java.sql.SQLException
param
- - the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occursint getParameterMode(int param) throws java.sql.SQLException
param
- - the first parameter is 1, the second is 2, ...
java.sql.SQLException
- if a database access error occurs
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |