db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-211) SQL Exception: 'ADPT_PK_IDX' is not a column in table or VTI 'APPLICATIONIDENTITY0.HASHMAP_OBJECT0_STR'.
Date Mon, 21 Nov 2005 18:11:42 GMT
    [ http://issues.apache.org/jira/browse/JDO-211?page=comments#action_12358175 ] 

Andy Jefferson commented on JDO-211:

I see that the MetaData is now, for example
<field name="HashMapOfObject_String3" table="HASHMAP_OBJECT3_STR">
    <join column="IDENTIFIER"/>
            <field name="id" primary-key="true" column="ID"/>
            <field name="intField" column="INTVAL"/>
            <field name="stringField" column="STRINGVAL"/>
    <value column="VALUEVAL"/>

That certainly doesnt agree with my definition of a PK specification for the join table. It
should be (IMHO) like this

            <column name="IDENTIFIER"/>
            <column name="ID"/>
which nicely defines the colums to be used for the join table. Using fields of an embedded
object and specifying primary-key there is not logical to me, and not supported by JPOX either.
The JPOX online docs 
provides what we support for PK definition, which is that above.

> SQL Exception: 'ADPT_PK_IDX' is not a column in table or VTI 'APPLICATIONIDENTITY0.HASHMAP_OBJECT0_STR'.
> --------------------------------------------------------------------------------------------------------
>          Key: JDO-211
>          URL: http://issues.apache.org/jira/browse/JDO-211
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Michelle Caisse
>     Assignee: Andy Jefferson
>  Attachments: JDO-211.patch
> Test*MapStringValueCollections there is a mismatch between orm and schema.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message