2
** ________ ___ / / ___ Scala API **
3
** / __/ __// _ | / / / _ | (c) 2003-2011, LAMP/EPFL **
4
** __\ \/ /__/ __ |/ /__/ __ | **
5
** /____/\___/_/ |_/____/_/ | | **
15
/** The SQL type for a truth value. */
16
@deprecated(DbcIsDeprecated, "2.9.0") class Unknown extends DataType {
18
def isEquivalent(datatype: DataType) = datatype match {
20
nativeTypeId == dt.nativeTypeId
25
def isSubtypeOf(datatype: DataType) = true;
27
type NativeType = AnyRef;
28
val nativeTypeId = DataType.OBJECT;
30
/** A SQL-99 compliant string representation of the type. */
31
override def sqlString: java.lang.String =
32
sys.error("The 'UNKNOWN' data type cannot be represented.");