primaryKeyColumnMissing
handle primaryKeyColumnMissing errors
- Specified by:
primaryKeyColumnMissingin interfaceDBModelErrorHandler- Parameters:
primaryKey- The primary key that misses the columncolumn- The missing column
DBModelErrorHandlerDBModelErrorHandler interface that logs all errorsvoidcolumnNullableMismatch(DBColumn col,
boolean nullable) voidcolumnSizeMismatch(DBColumn col,
int size,
int scale) voidcolumnTypeMismatch(DBColumn col,
DataType type) intintvoiditemNotFound(DBObject dbo) protected voidprotected voidvoidobjectTypeMismatch(DBObject object,
String name,
Class<?> expectedType) voidprimaryKeyColumnMissing(DBIndex primaryKey,
DBColumn column) voidprimaryKeyMismatch(DBIndex primaryKey,
DBColumn[] tableKey) itemNotFound in interface DBModelErrorHandlerdbo - The missing objectobjectTypeMismatch in interface DBModelErrorHandlerobject - the missing objectname - the name of the objectexpectedType - the expected typecolumnTypeMismatch in interface DBModelErrorHandlercol - The affected columncolumnSizeMismatch in interface DBModelErrorHandlercol - The affected columnsize - Size in the databasescale - Decimal scale in the database (only for decimal types, 0 otherwise)columnNullableMismatch in interface DBModelErrorHandlercol - The affected columnnullable - true if the column is required in the databaseprimaryKeyColumnMissing in interface DBModelErrorHandlerprimaryKey - The primary key that misses the columncolumn - The missing columnDBModelErrorHandlerprimaryKeyMismatch in interface DBModelErrorHandlerprimaryKey - The index keytableKey - The referenced table key