Mapping an unsupported type
---------------------------
Key: OPENJPA-1612
URL: https://issues.apache.org/jira/browse/OPENJPA-1612
Project: OpenJPA
Issue Type: Bug
Components: kernel
Reporter: Rick Curtis
Priority: Minor
As discussed on the dev mailing list [1]...
I found that the following mapping:
@Entity
public class AnnoTest1 {
@ManyToOne
Object o;
...
}
This results in a warning message [2], but it is allowed. This JIRA will be
used to detect this condition and fail fast.
[1] http://openjpa.markmail.org/thread/6yphicehgclyobag
[2] 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.