Skip to content

Commit 9f0fc25

Browse files
committed
fix for integrate-mappings showcase
1 parent ba7b61f commit 9f0fc25

File tree

1 file changed

+3
-0
lines changed
  • showcases/data/End To End Examples/Integrate Mappings

1 file changed

+3
-0
lines changed

showcases/data/End To End Examples/Integrate Mappings/code.pure

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@ RelationalDatabaseConnection com::trade::TradeConnection
216216
type: H2;
217217
specification: LocalH2
218218
{
219+
testDataSetupSqls: [
220+
'Drop Schema if exists TRADE;\nCreate Schema if not exists TRADE;\nCreate Table TRADE.Trade(id VARCHAR(200), value INT, ENTITY_ID_FK VARCHAR(200));\nInsert into TRADE.Trade (id, value, ENTITY_ID_FK) values (1,\'100\',\'entity1\');\nInsert into TRADE.Trade (id, value, ENTITY_ID_FK) values (2,\'200\',\'entity2\');\nInsert into TRADE.Trade (id, value, ENTITY_ID_FK) values (3,\'300\',\'entity3\');\nCREATE SCHEMA IF NOT EXISTS Entity;\nDrop table if exists Entity.LegalEntity;\nCreate Table Entity.LegalEntity(ENTITY_ID VARCHAR(200), name VARCHAR(200));\nInsert into Entity.LegalEntity (ENTITY_ID, name) values (\'entity1\', \'Google\');\nInsert into Entity.LegalEntity (ENTITY_ID, name) values (\'entity2\', \'Apple\');\n'
221+
];
219222
};
220223
auth: DefaultH2;
221224
}

0 commit comments

Comments
 (0)