db-jdo-dev mailing list archives

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

Craig Russell reassigned JDO-211:
---------------------------------

    Assign To: Michelle Caisse  (was: Andy Jefferson)

Combining the metadata for the field, join, key, and value, I come up with this:

<field name="HashMapOfObject_String3" table="HASHMAP_OBJECT3_STR"> 
    <join column="IDENTIFIER"/> 
        <primary-key> 
            <column name="IDENTIFIER"/> 
            <column name="ID"/> 
        </primary-key> 
    </join>
    <key> 
            <embedded> 
            <field name="id" column="ID"/> 
            <field name="intField" column="INTVAL"/> 
            <field name="stringField" column="STRINGVAL"/> 
        </embedded> 
    </key> 
    <value column="VALUEVAL"/> 
</field> 

This should be a standard, portable mapping for the map<embedded SimpleClass, embedded
String> case. 

I will propose to the expert group that a portable mapping for arrays, collections, and maps
will include a primary key on the join table. 


> 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: Michelle Caisse
>  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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message