diff options
author | 2021-01-18 12:38:57 +0000 | |
---|---|---|
committer | 2021-01-18 12:38:57 +0000 | |
commit | aee547cfbeb8780ed21d2ee902110a888aee3b56 (patch) | |
tree | 46b426eb4f467ba8782b52862c95ab276ded24f7 /cps-ri/src/test/resources/data | |
parent | b5887363577700a417cdcd7fd56cde37383fca40 (diff) | |
parent | 6bd247357a3112be96b94d52532aa09231ed520c (diff) |
Merge "Persisting data nodes (fragments tree structure)"
Diffstat (limited to 'cps-ri/src/test/resources/data')
-rw-r--r-- | cps-ri/src/test/resources/data/fragment.sql | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cps-ri/src/test/resources/data/fragment.sql b/cps-ri/src/test/resources/data/fragment.sql new file mode 100644 index 000000000..c50f59530 --- /dev/null +++ b/cps-ri/src/test/resources/data/fragment.sql @@ -0,0 +1,13 @@ +INSERT INTO DATASPACE (ID, NAME) VALUES + (1001, 'DATASPACE-001'); + +INSERT INTO SCHEMA_SET (ID, NAME, DATASPACE_ID) VALUES + (2001, 'SCHEMA-SET-001', 1001); + +INSERT INTO ANCHOR (ID, NAME, DATASPACE_ID, SCHEMA_SET_ID) VALUES + (3001, 'ANCHOR-001', 1001, 2001); + +INSERT INTO FRAGMENT (ID, XPATH, ANCHOR_ID, PARENT_ID, DATASPACE_ID) VALUES + (3001, '/parent', 3001, null, 1001), + (3002, '/parent/child', 3001, 3001, 1001), + (3003, '/parent/child/grandchild', 3001, 3002, 1001);
\ No newline at end of file |