SQL table does not create relational column for generalization in UmpleOnline #1728
Labels
Component-SemanticsAndGen
Related to code generators in general and the meaning of Umple models
Component-UmpleOnline
Related to the UmpleOnline website
Diffic-Med
A non-trivial problem that may take over a week or may not be obvious how to fix or require analysis
Priority-High
This problem or enhancement is likely to be highly visible and or impactful of users
Priority-NeedsMoreAnalysis
The priority is uncertain until more analysis is done
sql
Issues to do with SQL generation
Milestone
Summary
Within the UmpleOnline, the users can generate the relational database tables based on the modeling language. In a sample scenario, a user can create a model, and generate the SQL to create the associated database, tables, columns.
The system does not generate relational columns between the tables that are in the "isA" relationship (generalization).
For example (in 2D shapes): Circle isA EllipticalShape, and EllipticalShape isA Shape2D. Therefore, there is a relation between Circle >> EllipticalShape >> Shape2D. So, in a relational database system, the primary key of Shape2D table should exist inside the EllipticalShape table as a foreign key. A similar case will happen for Circle and EllipticalShape. the primary key of EllipticalShape table should exist inside the Circle table as a foreign key.
Steps to Reproduce
There is no column defined within the "Circle" table to convert the isA relation between the "Circle" and "EllipticalShape" table.
Expected Feature
For an isA association, the second table (Circle) should have a foreign key column taken from the first table (EllipticalShape).

The text was updated successfully, but these errors were encountered: