Skip to content
This repository was archived by the owner on Jun 18, 2020. It is now read-only.
This repository was archived by the owner on Jun 18, 2020. It is now read-only.

OracleXmlHandler.getXmlAsString throws NPE instead of returning null #24

@gigermocas

Description

@gigermocas

According to the documentation for SqlXmlHandler's getXmlAsString it should return the given column as String or null in case of SQL NULL, OracleXmlHandler's implementation throws a NullPointerException instead.

The default implementation (Jdbc4SqlXmlHandler) has the same behavior. So it seems to me that there's a discrepancy between the documentation and the implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions