| java.lang.Object workbench.db.AbstractConstraintReader workbench.db.oracle.OracleConstraintReader
OracleConstraintReader | public OracleConstraintReader()(Code) | | |
getColumnConstraintSql | public String getColumnConstraintSql()(Code) | | |
getIndexForCatalogParameter | public int getIndexForCatalogParameter()(Code) | | |
getIndexForSchemaParameter | public int getIndexForSchemaParameter()(Code) | | |
getIndexForTableNameParameter | public int getIndexForTableNameParameter()(Code) | | |
getPrefixTableConstraintKeyword | public String getPrefixTableConstraintKeyword()(Code) | | |
getSuffixTableConstraintKeyword | public String getSuffixTableConstraintKeyword()(Code) | | |
getTableConstraintSql | public String getTableConstraintSql()(Code) | | |
isDefaultNNConstraint | protected boolean isDefaultNNConstraint(String definition)(Code) | | Checks if the constraint definition is a "default" Not null definition
as created by Oracle. Those constraints will be included in the column
definition already and do not need to be returned.
but a definition like COL_1 IS NOT NULL OR COL_2 IS NOT NULL must
not be treated as a "default" constraint.
A "default" NN constraint is assumed if an identifier is
immediately followed by the keyword IS NOT NULL and no further
definitions exist.
|
|
|