db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JDO-115) FieldsOfSimpleInterface has incorrect schema - all fields are LONG VARCHAR FOR BIT DATA
Date Sat, 22 Apr 2006 20:01:11 GMT
     [ 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


Mime
View raw message