What should happen when a relationship to a non-Entity (or an Entity which
is in a different PU) is found by the OpenJPA runtime? For example, if I had
the following Entity:

@Entity
public class AnnoTest1 {

    @ManyToOne
    Object o;
...
}

This results in a warning message [1], but it is allowed. Does this make
sense, or should we fail fast when this condition is encountered?

[1] 297  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field
"test.AnnoTest1.o" efficiently.  It is of an unsupported type. The field
value will be serialized to a BLOB by default.

-- 
Thanks,
Rick

Reply via email to