| java.lang.Object org.jboss.resource.adapter.jdbc.remote.SerializableParameterMetaData
Method Summary | |
public String | getParameterClassName(int param) Retrieves the fully-qualified name of the Java class whose instances
should be passed to the method PreparedStatement.setObject .
Parameters: param - the first parameter is 1, the second is 2, ... | public int | getParameterCount() Retrieves the number of parameters in the PreparedStatement
object for which this ParameterMetaData object contains
information. | public int | getParameterMode(int param) Retrieves the designated parameter's mode.
Parameters: param - the first parameter is 1, the second is 2, ... | public int | getParameterType(int param) Retrieves the designated parameter's SQL type.
Parameters: param - the first parameter is 1, the second is 2, ... | public String | getParameterTypeName(int param) Retrieves the designated parameter's database-specific type name.
Parameters: param - the first parameter is 1, the second is 2, ... | public int | getPrecision(int param) Retrieves the designated parameter's number of decimal digits.
Parameters: param - the first parameter is 1, the second is 2, ... | public int | getScale(int param) Retrieves the designated parameter's number of digits to right of the decimal point.
Parameters: param - the first parameter is 1, the second is 2, ... | public int | isNullable(int param) Retrieves whether null values are allowed in the designated parameter.
Parameters: param - the first parameter is 1, the second is 2, ... | public boolean | isSigned(int param) Retrieves whether values for the designated parameter can be signed numbers.
Parameters: param - the first parameter is 1, the second is 2, ... |
parameterCount | int parameterCount(Code) | | |
serialVersionUID | final static long serialVersionUID(Code) | | since: 1.1 |
getParameterClassName | public String getParameterClassName(int param) throws SQLException(Code) | | Retrieves the fully-qualified name of the Java class whose instances
should be passed to the method PreparedStatement.setObject .
Parameters: param - the first parameter is 1, the second is 2, ... the fully-qualified name of the class in the Java programminglanguage that would be used by the methodPreparedStatement.setObject to set the valuein the specified parameter. This is the class name usedfor custom mapping. throws: java.sql.SQLException - if a database access error occurs since: 1.4 |
getParameterCount | public int getParameterCount() throws SQLException(Code) | | Retrieves the number of parameters in the PreparedStatement
object for which this ParameterMetaData object contains
information.
the number of parameters throws: java.sql.SQLException - if a database access error occurs since: 1.4 |
getParameterMode | public int getParameterMode(int param) throws SQLException(Code) | | Retrieves the designated parameter's mode.
Parameters: param - the first parameter is 1, the second is 2, ... mode of the parameter; one ofParameterMetaData.parameterModeIn ,ParameterMetaData.parameterModeOut , orParameterMetaData.parameterModeInOut ParameterMetaData.parameterModeUnknown . throws: java.sql.SQLException - if a database access error occurs since: 1.4 |
getParameterType | public int getParameterType(int param) throws SQLException(Code) | | Retrieves the designated parameter's SQL type.
Parameters: param - the first parameter is 1, the second is 2, ... SQL type from java.sql.Types throws: java.sql.SQLException - if a database access error occurs See Also: java.sql.Types since: 1.4 |
getParameterTypeName | public String getParameterTypeName(int param) throws SQLException(Code) | | Retrieves the designated parameter's database-specific type name.
Parameters: param - the first parameter is 1, the second is 2, ... type the name used by the database. If the parameter type isa user-defined type, then a fully-qualified type name is returned. throws: java.sql.SQLException - if a database access error occurs since: 1.4 |
getPrecision | public int getPrecision(int param) throws SQLException(Code) | | Retrieves the designated parameter's number of decimal digits.
Parameters: param - the first parameter is 1, the second is 2, ... precision throws: java.sql.SQLException - if a database access error occurs since: 1.4 |
getScale | public int getScale(int param) throws SQLException(Code) | | Retrieves the designated parameter's number of digits to right of the decimal point.
Parameters: param - the first parameter is 1, the second is 2, ... scale throws: java.sql.SQLException - if a database access error occurs since: 1.4 |
isNullable | public int isNullable(int param) throws SQLException(Code) | | Retrieves whether null values are allowed in the designated parameter.
Parameters: param - the first parameter is 1, the second is 2, ... the nullability status of the given parameter; one ofParameterMetaData.parameterNoNulls ,ParameterMetaData.parameterNullable , orParameterMetaData.parameterNullableUnknown throws: java.sql.SQLException - if a database access error occurs since: 1.4 |
isSigned | public boolean isSigned(int param) throws SQLException(Code) | | Retrieves whether values for the designated parameter can be signed numbers.
Parameters: param - the first parameter is 1, the second is 2, ... true if so; false otherwise throws: java.sql.SQLException - if a database access error occurs since: 1.4 |
|
|