d

    Dmitry Lapshin

    2 years ago
    Hi! I am manually wrapping outer join result in DAO objects. How can I check that a column is null?
    For now, I am using
    if (row[Table.id as Expression<EntityID<UUID>?>] != null) Table.wrapRow(row) else null
    s

    spand

    2 years ago
    I think row has a
    getOrNull
    d

    Dmitry Lapshin

    2 years ago
    It checks for
    hasValue
    that checks for
    NotInitializedValue
    that I feel is not the case: value is initialized with
    null
    .