I'm getting a metadata validation error and OpenJPA 2.2.1 is attempting to
tell me something I'm sure is helpful, but the message key in question (
join-bad-col) does not appear to have a related message.

Here's the root error I'm getting:

Caused by: <openjpa-2.2.1-r422266:1396819 fatal user error>
org.apache.openjpa.persistence.ArgumentException: localized message key: *
join-bad-col*; substitutions:
[com.foobar.RelationshipRecordBeanImpl.activeOn, bigint, Full Name:
rel_table.REL
Type: char
Size: 4
Default: null
Not Null: true
]
at
org.apache.openjpa.jdbc.meta.MappingInfo.mergeColumn(MappingInfo.java:775)


What is this error trying to tell me?  I know it's going to have to do with
a @SecondaryTable annotation that is in play and probably its related
@PrimaryKeyJoinColumn annotation, but to my eyes everything looks OK.

Thanks,
Laird

-- 
http://about.me/lairdnelson

Reply via email to