|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OracleResultSetMetaData
An object that can be used to get information about the types and properties of the columns in a ResultSet object.
Nested Class Summary | |
---|---|
static class |
OracleResultSetMetaData.SecurityAttribute eXtensible Data Security (XDS) attribute. |
Field Summary |
---|
Fields inherited from interface java.sql.ResultSetMetaData |
---|
columnNoNulls, columnNullable, columnNullableUnknown |
Method Summary | |
---|---|
OracleResultSetMetaData.SecurityAttribute |
getSecurityAttribute(int indexOfColumnInResultSet) Returns the eXtensible Data Security (XDS) attribute of this column. |
boolean |
isColumnInvisible(int indexOfColumnInResultSet) Returns the column visibility information of the specified column. |
boolean |
isNCHAR(int index) isNCHAR (int) |
boolean |
isVariableScale(int column) If the scale of Oracle NUMBER, FLOAT, DECIMAL and DOUBLE database datatype is unspecified this method returns true . |
Methods inherited from interface java.sql.ResultSetMetaData |
---|
getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWritable |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Method Detail |
---|
boolean isNCHAR(int index) throws SQLException
index
- the column indexSQLException
OracleResultSetMetaData.SecurityAttribute getSecurityAttribute(int indexOfColumnInResultSet) throws SQLException
SQLException
OracleResultSet.getAuthorizationIndicator
boolean isColumnInvisible(int indexOfColumnInResultSet) throws SQLException
An invisible column is a user defined/specified hidden column which can be later changed to visible. It is created as:
create table test_tab (col1 integer invisibile, col2 integer);It can be modified later by using:
alter table test_tab modify (col1 visible);
indexOfColumnInResultSet
- the column indexSQLException
boolean isVariableScale(int column) throws SQLException
true
. Oracle database returns -127 if scale is unspecified.column
- the first column is 1, the second is 2, ...SQLException
|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |