Skip to content

Rethink design of persistence.relational.jdbc.models.Converter #2487

@binarycat0

Description

@binarycat0

The Converter interface is a bit strange indeed. The method above is a pure converter utility, but this one looks like it's meant to convert the object's internal state to some external representation.

This hints at the idea that this interface should be split in two. In ResultSetIterator for instance, we only need the fromResultSet method.

Originally posted by @adutra in #2465 (comment)

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