boolean
returnsSelfAsResult, in Class DB2Method
Documentation
SELF AS RESULT
Identifies this method as a type-preserving method, which means the
following:
- The declared return type must be the same as the declared subject-type
(SQLSTATE 428EQ).
- When an SQL statement is compiled and resolves to a type preserving
method, the static type of the result of the method is the same as the
static type of the subject argument.
- The method must be implemented in such a way that the dynamic type
of the result is the same as the dynamic type of the subject argument
(SQLSTATE 2200G), and the result cannot be NULL (SQLSTATE 22004).
If the method being defined overrides another method, this clause cannot
be specified (SQLSTATE 428FV).
Export Control | PublicAccess | Containment | Unspecified |
Static | No | Derived | No |
Property Settings
Data Modeler
dmItem | False | DMName | |
Ordinal | 0 | IsIdentity | False |
IsUnique | False | NullsAllowed | False |
Length | 0 | Scale | 0 |
ColumnType | Native | ForBitData | False |
DefaultValueType | | DefaultValue | |
SourceId | | SourceType | |
OID | False | | |