openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laird Nelson <ljnel...@gmail.com>
Subject join-bad-col message key doesn't have corresponding message text
Date Fri, 01 Feb 2013 17:50:15 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message