public class IncompatibleDataTypeException
extends org.datanucleus.store.exceptions.DatastoreValidationException
Column,
Serialized Form| Constructor and Description |
|---|
IncompatibleDataTypeException(Column column,
int expectedType,
int actualType)
Constructs an incompatible data type exception.
|
getCause, getFailedObject, getNestedExceptions, isFatal, printStackTrace, printStackTrace, printStackTrace, setFatal, setNestedExceptionaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringpublic IncompatibleDataTypeException(Column column, int expectedType, int actualType)
column - The column having an incompatible data type.expectedType - The expected java.sql.Type of the column taken from the metadata.actualType - The actual java.sql.Type of the column taken from the database.Copyright © 2017. All rights reserved.