hibernate / hibernate-models

An abstraction over "reflection" and annotations
Apache License 2.0
2 stars 5 forks source link

TypeDetails Object should be resolved if type Kind is CLASS #52

Closed dreab8 closed 3 months ago

dreab8 commented 3 months ago

Not sure this is the correct solution but it fixes the case

@Entity(name = "AnEntity")
class AnEntity {
      EmbeddableWithParent embeddableWithParent;
}

@Embeddable
class EmbeddableWithParent {
      @Parent
    private Object parent;
}

where the Property EmbeddableWithParent.parent is considered an unbound type. `