You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michael Bouschen (JIRA)" <ji...@apache.org> on 2006/04/22 22:01:11 UTC

[jira] Closed: (JDO-115) FieldsOfSimpleInterface has incorrect schema - all fields are LONG VARCHAR FOR BIT DATA

     [ http://issues.apache.org/jira/browse/JDO-115?page=all ]
     
Michael Bouschen closed JDO-115:
--------------------------------

    Fix Version: JDO 2 beta
     Resolution: Fixed

> FieldsOfSimpleInterface has incorrect schema - all fields are LONG VARCHAR FOR BIT DATA
> ---------------------------------------------------------------------------------------
>
>          Key: JDO-115
>          URL: http://issues.apache.org/jira/browse/JDO-115
>      Project: JDO
>         Type: Bug

>   Components: tck20
>     Reporter: Andy Jefferson
>     Assignee: Michelle Caisse
>      Fix For: JDO 2 beta

>
> Take an example of the field FIELDSOFSIMPLEINTERFACE.SIMPLEINTERFACE40. This is a field of type SimpleInterface with no "serialized" or "embedded" attribute. The column is of type "LONG VARCHAR FOR BIT DATA". 
> A plain interface field like this should be treated as an FCO, and JPOX does this as a 1-1 relation with a FK to the other object (if the interface has more than 1 possible implementation then that field will have 1 FK column for each possible implementation). See http://www.jpox.org/docs/1_1/interfaces.html. As a result the column should be of type BIGINT.
> There are likely many columns on this table that are incorrect. Why is LONG VARCHAR FOR BIT DATA being used ?

-- 
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