Skip to content

Generate UDT.getSupertype() and UDT.getSubtypes() #11371

@lukaseder

Description

@lukaseder

Dialects supporting UDTs could profit from a pre-generated type map of type Map<String, Class<?>>, which can be passed to JDBC to communicate all the mappings of UDTs for use with methods like CallableStatement.getObject(int, Map).

Currently, only Oracle would profit from this improvement as the PostgreSQL JDBC driver doesn't yet support the JDBC SQLData API (and we're parsing / serialising strings instead).

The improvement has 2 main benefits:

This issue takes care of code generation. The API is defined in #11372. A stub is implemented in CatalogImpl and SchemaImpl, returning empty maps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions