-
setNullable
public void setNullable(int columnIndex,
int property)
throws java.sql.SQLException
Sets whether a value stored in the designated column can be set to NULL to the given constant from the interface ResultSetMetaData .
-
Specified by:
-
setNullable in interface javax.sql.RowSetMetaData
-
Parameters:
-
columnIndex - the first column is 1, the second is 2, and so on; must be between 1 and the number of columns, inclusive
-
property - one of the following ResultSetMetaData constants: columnNoNulls , columnNullable , or columnNullableUnknown
-
Throws:
-
java.sql.SQLException - if a database access error occurs, the given column number is out of bounds, or the value supplied for the property parameter is not one of the following constants: ResultSetMetaData.columnNoNulls , ResultSetMetaData.columnNullable , or ResultSetMetaData.columnNullableUnknown-
java.sql.SQLException - if a database access error occurs
|
-
setNullable
public void setNullable(int columnIndex,
int property)
throws java.sql.SQLException
Sets whether a value stored in the designated column can be set to NULL to the given constant from the interface ResultSetMetaData .
-
Specified by:
-
setNullable in interface javax.sql.RowSetMetaData
-
Parameters:
-
columnIndex - the first column is 1, the second is 2, and so on; must be between 1 and the number of columns, inclusive
-
property - one of the following ResultSetMetaData constants: columnNoNulls , columnNullable , or columnNullableUnknown
-
Throws:
-
SQLException - if a database access error occurs, the given column number is out of bounds, or the value supplied for the property parameter is not one of the following constants: ResultSetMetaData.columnNoNulls , ResultSetMetaData.columnNullable , or ResultSetMetaData.columnNullableUnknown
-
java.sql.SQLException - if a database access error occurs
|
-
setNullable
public void setNullable(int columnIndex,
int property)
throws java.sql.SQLException
Sets whether a value stored in the designated column can be set to NULL to the given constant from the interface ResultSetMetaData .
-
Specified by:
-
setNullable in interface javax.sql.RowSetMetaData
-
Parameters:
-
columnIndex - the first column is 1, the second is 2, and so on; must be between 1 and the number of columns, inclusive
-
property - one of the following ResultSetMetaData constants: columnNoNulls , columnNullable , or columnNullableUnknown
-
Throws:
-
java.sql.SQLException - if a database access error occurs, the given column number is out of bounds, or the value supplied for the property parameter is not one of the following constants: ResultSetMetaData.columnNoNulls , ResultSetMetaData.columnNullable , or ResultSetMetaData.columnNullableUnknown
|
|