[jira] [Comment Edited] (TORQUE-370) Include Schema should be able to cross reference
"Max Philipp Wriedt (Jira)" <[email protected]> Wed, 11 Dec 2024 15:09:00 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.turbine.torque.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/TORQUE-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904820#comment-17904820 ]
Max Philipp Wriedt edited comment on TORQUE-370 at 12/11/24 3:08 PM:
---------------------------------------------------------------------
we could ignore order, i we switch off foreign key checks for the time we import the sql
which is what we are already doing, at least in mysql
was (Author: JIRAUSER299058):
we could ignore order, i we switch off foreign key checks for the time we import the sql
> Include Schema should be able to cross reference
> ------------------------------------------------
>
> Key: TORQUE-370
> URL: https://issues.apache.org/jira/browse/TORQUE-370
> Project: Torque
> Issue Type: Improvement
> Components: Generator, Templates
> Affects Versions: 5.1, 6.0, 7.0
> Reporter: Max Philipp Wriedt
> Priority: Major
> Labels: SQL-generation
>
> When including a schema inside a schema file and re-reference it back to its original file, we should already know, that it is inside the current graph.
> Steps to check:
> # Don't reinclude if already included or self
> # check for correct order in sql-file (e.g. foreign key can only be included, if table was created beforehand
> I think this requires a larger restructure of the generator.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)