Skip to content

Fields in @MappedSuperclass are not visible #105

@ejsthier

Description

@ejsthier

The fields from the base class are not visible when you you extend a base class with the @MappedSuperclass annotation.

Your entity doesn't have an id field in $metadata when your entity extends this class:
`@MappedSuperclass
abstract class AbstractEntity : Persistable {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private var id: Int? = null`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions