Skip to content

add reference to ManagedType to static metamodel #475

Closed
@gavinking

Description

@gavinking

Every class with a static metamodel is represented by an instance of a subtype of ManagedType. You can get these objects from the Metamodel.

It would be really convenient to be able to get them directly from the static metamodel.

For example:

EntityType<Book> bookType = Book_.class_;

The Hibernate implementation of the JPA static metamodel generator already has this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions