You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fischer (JIRA)" <ji...@apache.org> on 2009/11/08 12:36:32 UTC

[jira] Created: (TORQUE-130) remove the heavyIndexing attribute of the table element

remove the heavyIndexing attribute of the table element
-------------------------------------------------------

                 Key: TORQUE-130
                 URL: https://issues.apache.org/jira/browse/TORQUE-130
             Project: Torque
          Issue Type: Sub-task
          Components: Generator
    Affects Versions: 4.0
            Reporter: Thomas Fischer


>From reading the source code (Table.doHeavyIndexing() in the generator), the heavy-indexing attribute of the table should create an index for every column for a composite primary key. It has the following flaws in 3.3:
- It is not documented what the attribute does.
- It currently does not work correctly. The first column of the composite primary key is left out (and the comment in the code why this is done is incorrect, because the database will automatically create a composite index for the combined columns, not an index for the first column).
- It would be much more transparent to list the indexed columns as <index-column>.

Therefore I propose to remove this attribute from the 4.0 schema without replacement. This would not remove any functionality.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


[jira] Resolved: (TORQUE-130) remove the heavyIndexing attribute of the table element

Posted by "Thomas Fischer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TORQUE-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Fischer resolved TORQUE-130.
-----------------------------------

         Assignee: Thomas Fischer
    Fix Version/s: 4.0
       Resolution: Fixed

> remove the heavyIndexing attribute of the table element
> -------------------------------------------------------
>
>                 Key: TORQUE-130
>                 URL: https://issues.apache.org/jira/browse/TORQUE-130
>             Project: Torque
>          Issue Type: Sub-task
>          Components: Generator
>    Affects Versions: 4.0
>            Reporter: Thomas Fischer
>            Assignee: Thomas Fischer
>             Fix For: 4.0
>
>
> From reading the source code (Table.doHeavyIndexing() in the generator), the heavy-indexing attribute of the table should create an index for every column for a composite primary key. It has the following flaws in 3.3:
> - It is not documented what the attribute does.
> - It currently does not work correctly. The first column of the composite primary key is left out (and the comment in the code why this is done is incorrect, because the database will automatically create a composite index for the combined columns, not an index for the first column).
> - It would be much more transparent to list the indexed columns as <index-column>.
> Therefore I propose to remove this attribute from the 4.0 schema without replacement. This would not remove any functionality.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org