-
Key: QVT12-7
-
Legacy Issue Number: 15917
-
Status: closed
-
Source: laposte.net ( Xavier Dolques)
-
Summary:
In the UML to rdbms transformation code given in section A.2.3 :
– mapping to update a Table with new columns of foreign keys
{self.isPersistent();}
mapping Association::asso2table() : Table
when{
{result := self.destination.resolveone(Table);}
initforeignKey := self.map asso2ForeignKey();
column := result.foreignKey->column ;
}The mapping asso2table is supposed to update a table by adding new columns, but with the last line of the mapping, the existing columns are all replaced by the new ones. I suggest to replace the last line with :
column += result.foreignKey->column ; -
Reported: QVT 1.1 — Fri, 7 Jan 2011 05:00 GMT
-
Disposition: Resolved — QVT 1.2
-
Disposition Summary:
yes
-
Updated: Fri, 6 Mar 2015 20:58 GMT