openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ljnelson <ljnel...@gmail.com>
Subject Re: join-bad-col message key doesn't have corresponding message text
Date Fri, 01 Feb 2013 18:20:36 GMT
Thanks, but no.  It turned out to be something caused by a bad
@PrimaryKeyJoinColumn.


On Fri, Feb 1, 2013 at 10:18 AM, Michael Dick [via OpenJPA] <
ml-node+s208410n7582691h53@n2.nabble.com> wrote:

> Just a guess, but it looks like the entity has a bigInt mapping to a
> column
> of char(4). I can't check the code / messages right now though, but maybe
> this will give you a starting point.
>
> -mike
>
>
> On Fri, Feb 1, 2013 at 11:50 AM, Laird Nelson <[hidden email]<http://user/SendEmail.jtp?type=node&node=7582691&i=0>>
> wrote:
>
> > 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
> >
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://openjpa.208410.n2.nabble.com/join-bad-col-message-key-doesn-t-have-corresponding-message-text-tp7582690p7582691.html
>  To start a new topic under OpenJPA Users, email
> ml-node+s208410n208411h73@n2.nabble.com
> To unsubscribe from OpenJPA Users, click here<http://openjpa.208410.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=208411&code=bGpuZWxzb25AZ21haWwuY29tfDIwODQxMXw4OTk4MzY1OTI=>
> .
> NAML<http://openjpa.208410.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
http://about.me/lairdnelson




--
View this message in context: http://openjpa.208410.n2.nabble.com/join-bad-col-message-key-doesn-t-have-corresponding-message-text-tp7582690p7582692.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message