Compare commits
672 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b6df905f98 | |||
| 4bd36d08a6 | |||
| 979b0c24db | |||
| 3a448f490f | |||
| adc03a2b80 | |||
| 3d4d898f46 | |||
| be200da735 | |||
| 61d615b96b | |||
| b936f8fe86 | |||
| 7cfbfd3f4b | |||
| 02b18bedc8 | |||
| f43ae25616 | |||
| ba7ba32222 | |||
| a7b35fd7f1 | |||
| 470637a4a0 | |||
| 261127d3db | |||
| 842c5bc54b | |||
| cf98035245 | |||
| 58ae01fee1 | |||
| e870612c5c | |||
| 8e72458f48 | |||
| 6b49adde63 | |||
| bbfbc8a7dc | |||
| 6c672c453d | |||
| dc5f90248b | |||
| 1329edbbd5 | |||
| 18b7eff336 | |||
| bd444213be | |||
| 6984bcaba6 | |||
| d2351cbb8e | |||
| fb14cb70cc | |||
| 1e764af982 | |||
| 5a7a0ce058 | |||
| 579f18f46b | |||
| cdcc00042d | |||
| f41e75749f | |||
| 6890451cb9 | |||
| ce034c5367 | |||
| 837921387e | |||
| 6ce44fad12 | |||
| c741ed484e | |||
| fc35f41e04 | |||
| b61ad029f1 | |||
| 85559cdea7 | |||
| d82cbe61d6 | |||
| 7edf26d7f0 | |||
| 88aec42a18 | |||
| 7ab6e60fdd | |||
| 83442babd4 | |||
| e3c22dca4d | |||
| c62dbb2f32 | |||
| 8d5585a727 | |||
| 0ede264fce | |||
| bf7e6ee443 | |||
| 7bdd3ab4ab | |||
| 08487c3608 | |||
| 54c1a7067e | |||
| a35d32d22a | |||
| ef20a15d54 | |||
| d85a41e2c7 | |||
| 2c5830e9e9 | |||
| 534ffff6a8 | |||
| fdb13025ef | |||
| aa6b85d0c3 | |||
| 4afb25bd8c | |||
| 77d14bd688 | |||
| 3151639de9 | |||
| db49757c5e | |||
| 3d13617c96 | |||
| 6fb8cbde76 | |||
| 66a1d023b3 | |||
| ee92b20f66 | |||
| dbd356a9dd | |||
| a2bf782059 | |||
| 98e5e1b1bd | |||
| 83445fe54a | |||
| d24cbafaee | |||
| 320d212280 | |||
| bc81a483b5 | |||
| edf392d7b6 | |||
| c23bc149a1 | |||
| 4ded0e51d7 | |||
| 335b77e68e | |||
| c65fc1b2f0 | |||
| 1d652b7fbd | |||
| 3562af1255 | |||
| 9ad0ad644f | |||
| ede9f73dc1 | |||
| 2bd9a33834 | |||
| 03d017efbd | |||
| 0df0c179b4 | |||
| fbeeea6c23 | |||
| 99a4349860 | |||
| 8ca399df82 | |||
| e27863feb4 | |||
| a065aafc54 | |||
| 04655a0fda | |||
| dc22630f30 | |||
| 9cd327a20c | |||
| 8fa0e94933 | |||
| 15f2d9648d | |||
| 62ca89bad1 | |||
| 3d24f9f78b | |||
| 01142467c9 | |||
| 53acabc5d1 | |||
| f7b92fbac6 | |||
| bce5cb1d30 | |||
| 9400e997c6 | |||
| 58d287e6ce | |||
| ae4b2fe7e4 | |||
| 46f5cfbf7f | |||
| cd4d94c5fd | |||
| 7d46adae18 | |||
| 20545c984e | |||
| 249327d7d0 | |||
| f6148da0d4 | |||
| 6a60e80ad7 | |||
| 73d96524cd | |||
| 961e0fa1a0 | |||
| acd0ec4f17 | |||
| a4ef8ac522 | |||
| 0bb4e9f649 | |||
| da1e4ccd2a | |||
| cecf7d33b8 | |||
| 95951cf824 | |||
| e1c7f5074f | |||
| 408ecfc5fc | |||
| 971a870e51 | |||
| 25cedf87d0 | |||
| b750d45050 | |||
| 97b435aa1b | |||
| 40aa392935 | |||
| 0046ef0f2d | |||
| 5eb5677799 | |||
| 03a2bf820e | |||
| 6592f0f86f | |||
| efd799b217 | |||
| 7c0ce25871 | |||
| d0b1465177 | |||
| e7e9634768 | |||
| 3a95e5e86c | |||
| 40b56a2f0f | |||
| 9ae5037037 | |||
| b217529023 | |||
| 108791f0b4 | |||
| 3934482984 | |||
| 7efa9721c9 | |||
| 78977fde51 | |||
| 40d80f6ae1 | |||
| 0bf59e8340 | |||
| 1099d41e68 | |||
| cf52be38ec | |||
| a0db0e8387 | |||
| a48b4faba1 | |||
| 75e2b1164c | |||
| 253032ba92 | |||
| 20da29b810 | |||
| 7b12c5df99 | |||
| 2e487cd77a | |||
| c0d097e8ea | |||
| 42c7f60ac6 | |||
| 3683debe1e | |||
| 1026bab646 | |||
| 8a0ef29cda | |||
| 029459a9d5 | |||
| 9bd30aef3e | |||
| 17161ed441 | |||
| 0a1c74b8d0 | |||
| 67a0f71a31 | |||
| a72e7fdb20 | |||
| ae60ccd0fc | |||
| d9ff02d0d9 | |||
| 09be36cade | |||
| e50d88ddfe | |||
| 7146e61013 | |||
| 67e552a7a1 | |||
| 5a48e73bc1 | |||
| cd838a2858 | |||
| 5a2ce2eac8 | |||
| 68ddf0a175 | |||
| e389c53861 | |||
| 9ee90fc714 | |||
| c2c04ab1fb | |||
| e3093b9593 | |||
| 971613186f | |||
| 3463fb4766 | |||
| 282c1cd180 | |||
| 3a1f98c7bd | |||
| e1b0c23404 | |||
| 07f25822d5 | |||
| 3d03b1227a | |||
| 1d7806f96d | |||
| dc5992e0e5 | |||
| c9f53810d1 | |||
| 051d24e1b1 | |||
| 7ae893da24 | |||
| ed913077c7 | |||
| f35c5b0329 | |||
| 33262683f1 | |||
| 40a6d7d853 | |||
| aded0c6529 | |||
| db972ee841 | |||
| 1f3e0182c9 | |||
| aaaa07b381 | |||
| d26423bf9f | |||
| 09bc381a4e | |||
| 8f5147f870 | |||
| e367fc6062 | |||
| 395b447f86 | |||
| 0ed829c065 | |||
| 9c85f3955e | |||
| 2a379b8543 | |||
| d00acf3881 | |||
| ce3c3192e9 | |||
| 29cbd7dcf9 | |||
| f92e7d6f13 | |||
| 6c55ea8092 | |||
| b2ce10891f | |||
| d86866758b | |||
| f3224ad625 | |||
| 5b391b85b7 | |||
| 8a8cd325b1 | |||
| c1a885f220 | |||
| 2fa811b6c6 | |||
| 3bfc6aa51d | |||
| 322c830054 | |||
| 29e460f79f | |||
| 0254c26e09 | |||
| c37064be01 | |||
| 92bc5b3ef9 | |||
| 6a99fd76a6 | |||
| a584fa787b | |||
| 8e08a70e21 | |||
| b72802c67c | |||
| 04a5df43e8 | |||
| 1518e02736 | |||
| 9e2a04abd1 | |||
| d8bf797c16 | |||
| 2778b8d843 | |||
| 5bc07beffa | |||
| c85fddde8e | |||
| 2a2b0fbe60 | |||
| 7b7bfc289a | |||
| 830a37f55e | |||
| b2ae7d6d79 | |||
| 384411c2eb | |||
| fff9e21a2b | |||
| d663e19099 | |||
| 92956ee4bd | |||
| 08d12c7b6f | |||
| 9462a21513 | |||
| c40fb7c739 | |||
| 4b57dcc48a | |||
| a6b65a2981 | |||
| 82d4f7778f | |||
| 277afba7e7 | |||
| 528c3f83c6 | |||
| edb946cd81 | |||
| bf414de46b | |||
| c6d6997dfc | |||
| 2d69a07943 | |||
| 754d873f47 | |||
| 8cf01ea83e | |||
| b151191696 | |||
| 8dd427af95 | |||
| c9de663911 | |||
| 4378e59a1b | |||
| 80671e3802 | |||
| d624142787 | |||
| 56527be4db | |||
| 694b436b50 | |||
| 0723d007aa | |||
| 3241853eb2 | |||
| 6f809bc67a | |||
| 6d9adac372 | |||
| bb3c8b04a1 | |||
| ec2213d474 | |||
| 1e8a688e8e | |||
| 3b038ce89c | |||
| 0f43a9ed61 | |||
| 17cdae8737 | |||
| 168aacaf3d | |||
| 21b1ef0307 | |||
| ddd700cdca | |||
| de5bea6073 | |||
| 1107806610 | |||
| 2b584b224d | |||
| 54960ad2d7 | |||
| fe98564807 | |||
| c2e4576652 | |||
| 7e896ca5ab | |||
| 8892f3c3ed | |||
| b751ed57cc | |||
| 0aed89b72b | |||
| d85cf69135 | |||
| 4fa2f7ad5f | |||
| 3de3292151 | |||
| 38cf1a82af | |||
| b1086fcff2 | |||
| 57aeeea400 | |||
| 8c20aede2d | |||
| 4c064a1389 | |||
| 57a9a385ed | |||
| cac49ffdfd | |||
| 106e7fa20b | |||
| ba002a00ec | |||
| ef9e00df32 | |||
| f058b25eb3 | |||
| 316b486c91 | |||
| 2516564479 | |||
| 3aa97dfb5b | |||
| 117be6ca91 | |||
| fb3d4573d0 | |||
| 56466f6eb0 | |||
| 6d351091a7 | |||
| 2c3ca9c255 | |||
| d7f18c1cfc | |||
| 0f0d04ffd8 | |||
| 7a82c9e096 | |||
| 2132aa380d | |||
| e50feed502 | |||
| 5d8f15156a | |||
| 4913e5b49d | |||
| 7e98337bb9 | |||
| 36810bd694 | |||
| 75c12c517e | |||
| a998ad24e7 | |||
| eb6f161c31 | |||
| d22d4b717d | |||
| 3c60e7e8d2 | |||
| eb3853b919 | |||
| 0d2d874c94 | |||
| 69cdf9a2e5 | |||
| e77943e476 | |||
| c0b4c467a3 | |||
| cf34aa825c | |||
| 1f301bab05 | |||
| 5c7b7fe870 | |||
| b8330907d3 | |||
| 64a50d3f8e | |||
| b04d46d8ee | |||
| 710e0786a7 | |||
| b0ec21fe6d | |||
| cb5c31cc20 | |||
| 609e4c823c | |||
| 3f5f6ec87c | |||
| 1ebe626900 | |||
| 264db1b4f5 | |||
| 7d37778d1e | |||
| f95ef4d150 | |||
| f9a2e22004 | |||
| e232805283 | |||
| 73df04c908 | |||
| 6dece37b7e | |||
| e83db5e54a | |||
| f30d9095dc | |||
| 2e48fa7d9a | |||
| b376cd6aa1 | |||
| 0cdf3ddb1c | |||
| 0c65a45757 | |||
| c63f3c65d9 | |||
| 3acf18d16d | |||
| 6701ca0c45 | |||
| 5bfaaf6139 | |||
| badc423d71 | |||
| c68188bbc0 | |||
| 140779f14e | |||
| 4ca6435a9e | |||
| bbb419f27e | |||
| c43dc501d2 | |||
| 4b4267468a | |||
| bdcc4b9b3d | |||
| 3166d4c12e | |||
| df78631e24 | |||
| e68115ff8e | |||
| ed470c1151 | |||
| bb90e7c59a | |||
| a2dc7731a6 | |||
| 60e0990792 | |||
| b73673456a | |||
| f2e361b97d | |||
| 0d8e6c47bf | |||
| 5eed5743f3 | |||
| 765ff66dbb | |||
| 054fc5f419 | |||
| ee376f238c | |||
| 124b4e291a | |||
| 4ea49d5544 | |||
| 59d5c8068c | |||
| 950f48e582 | |||
| 55b4c6124a | |||
| 0107679b9d | |||
| 87559757f7 | |||
| 04aa6b9a03 | |||
| 737f420c3c | |||
| b01bae77b3 | |||
| 2880b9bdda | |||
| 942cafb8f6 | |||
| 54c219a218 | |||
| 5ed209cef2 | |||
| ee4bfbbc38 | |||
| 289d3ab876 | |||
| 79d859b794 | |||
| 291ee6833b | |||
| 629ff5696f | |||
| 68b1c9c75d | |||
| 7413154779 | |||
| ae3f7517ed | |||
| 7875c84448 | |||
| 13f4e2414a | |||
| 8fcb2b2ca1 | |||
| 5d84af4314 | |||
| 462d64a5ba | |||
| b740ae684a | |||
| 8251b86e72 | |||
| d41c939cf8 | |||
| bcec06205f | |||
| 60368abb70 | |||
| d7a126f585 | |||
| 3ea41d2840 | |||
| 643905699a | |||
| 401311f4f7 | |||
| 4495354a0a | |||
| 01e10bc48c | |||
| 87f19d518a | |||
| 1c30a5dd7a | |||
| af91f5c72f | |||
| aee457c1e3 | |||
| 5c670c5225 | |||
| a046033739 | |||
| 731817b628 | |||
| 45fd3a4690 | |||
| 9bab97a1a8 | |||
| 8eccb23d20 | |||
| fa6a06293a | |||
| dcf8f46781 | |||
| 7a128fd8ef | |||
| 1df1658478 | |||
| 2558afb781 | |||
| dd27b5be13 | |||
| 6dfab43dcc | |||
| f8c06728cb | |||
| caa831e4af | |||
| c79bdc0c86 | |||
| 10df9949ec | |||
| 027960c978 | |||
| 2f3eefeb87 | |||
| 3edcc1bfdf | |||
| d176f7296f | |||
| ef299bc110 | |||
| 43bd31eb06 | |||
| 5b0644bddc | |||
| 0275c44a54 | |||
| 1d0a25cb5a | |||
| 355752a521 | |||
| 2c381513c3 | |||
| aa9656008a | |||
| 86adb21493 | |||
| 601c61506d | |||
| 39bb0b0ed3 | |||
| 51cb4d41e9 | |||
| 5eb8803f81 | |||
| 12de98749a | |||
| b2a4a9456d | |||
| 22df40d13e | |||
| be346e10a3 | |||
| faf463a1b9 | |||
| 740bbe5502 | |||
| ad4f20b493 | |||
| 9c653c17a1 | |||
| 258a6ed2cf | |||
| cbc4a5e874 | |||
| 430220d828 | |||
| 366877ef02 | |||
| 502d01edef | |||
| 5f23941bc3 | |||
| 5a45655e6a | |||
| e07b5a8d15 | |||
| 0f3ac39654 | |||
| 5efa3ebf7a | |||
| f997b3f05b | |||
| aa4a05faab | |||
| afa3988379 | |||
| af630fd98e | |||
| 0d1a188622 | |||
| d549400aca | |||
| c4880ba11e | |||
| ebac0954e4 | |||
| 166a0020f2 | |||
| 86a04504e7 | |||
| f5f9188042 | |||
| edfc80ace1 | |||
| 37512feb68 | |||
| a48069c105 | |||
| 681ccfeeda | |||
| fac7f8cf70 | |||
| a81c107054 | |||
| 94094520b7 | |||
| 403a15954e | |||
| 1710c1a1f2 | |||
| 315ab05d40 | |||
| cf707d8560 | |||
| f9361a133f | |||
| 74f091f507 | |||
| 4cb5449c85 | |||
| 7ee1a34706 | |||
| 9f5efc7777 | |||
| 7323905a13 | |||
| c3ad4418ea | |||
| 0ce07b96e7 | |||
| 3e675ebae0 | |||
| 1e430415ac | |||
| 554372ce1c | |||
| 96e01de29e | |||
| a1128454e1 | |||
| 6b6aac7383 | |||
| 9ef67d980f | |||
| 80f0d24f32 | |||
| 0d45116c65 | |||
| c5ecb83b2e | |||
| dce7e35721 | |||
| cf20a5e3ee | |||
| c790a0a187 | |||
| cad41cbe9e | |||
| 5648d6603b | |||
| 8134055a0d | |||
| d0b41dfd18 | |||
| 236138ef35 | |||
| 0a2a309209 | |||
| 927fdadaa5 | |||
| 641efa24b5 | |||
| 301d498af4 | |||
| 60dc106a6f | |||
| dbd35c98de | |||
| 85608940f8 | |||
| da3b5aff6b | |||
| acb0c75e1f | |||
| ca23c4fa14 | |||
| fdaaed1911 | |||
| 1073c67f65 | |||
| 2624b576ea | |||
| fa9eef3309 | |||
| b00d2b91aa | |||
| 10c01a0d23 | |||
| 9fadfe4d8c | |||
| 8eb4ff3175 | |||
| 274e1182da | |||
| 5dd9dfdb6f | |||
| cfb9abc297 | |||
| 507d6ff3ad | |||
| c435d909b8 | |||
| 38b9172fa7 | |||
| a32c70a361 | |||
| f712d1c62d | |||
| 8402184313 | |||
| 5656fa29ca | |||
| 2d9200cd80 | |||
| 42c5581c40 | |||
| f8d5eae9f7 | |||
| e0f1ddc12c | |||
| 6caba0a36e | |||
| d2097ea403 | |||
| 244cf476ae | |||
| 41c400da3d | |||
| 18bfa991c3 | |||
| ebb518de73 | |||
| 0e6abf31fd | |||
| b0fbd81b8c | |||
| af771a2245 | |||
| bf46f0df44 | |||
| c9fe9dad91 | |||
| d7298960f7 | |||
| 39d07c1a8b | |||
| ecfc2451d4 | |||
| 95da195cdf | |||
| c690747e20 | |||
| 36ba883898 | |||
| 66e5be3c6f | |||
| 3e6e4e15f7 | |||
| c611b8b9c4 | |||
| 5db2eba50f | |||
| 530ea40f16 | |||
| 4a23221347 | |||
| 33b22d2213 | |||
| 55270a657f | |||
| f5992f41a9 | |||
| e8dbb2ac38 | |||
| 28f013c93f | |||
| 4d1e5f4061 | |||
| f675b65fae | |||
| 79f497399b | |||
| e3c06267cb | |||
| f5c1642e0c | |||
| f98049bd97 | |||
| 652e90dbd0 | |||
| 3500723ee4 | |||
| baa1adeae3 | |||
| ffef36f628 | |||
| 41ab1fe0a5 | |||
| 67e941949d | |||
| b723f4e81b | |||
| 3977956e53 | |||
| 8cba36ec19 | |||
| 8a607921f5 | |||
| b939172dc5 | |||
| 60f80085f3 | |||
| 264a49ee8d | |||
| 15aebf1867 | |||
| 3f01d94ba1 | |||
| cf75f8a709 | |||
| d563f29bee | |||
| 4fea663aed | |||
| 9aa14b7a9f | |||
| 6416a09e15 | |||
| 8818c1d51d | |||
| 29fa754f5b | |||
| e2bca0fdab | |||
| 38cde3ba58 | |||
| d90fbe8e76 | |||
| 67f9227a41 | |||
| 29f3e7d94c | |||
| e75f730a3e | |||
| ba652f114d | |||
| bf3c4db6ab | |||
| 7c2664b5bb | |||
| 0a9d572b79 | |||
| b26b861cca | |||
| 3fc2ebc2bb | |||
| 5fbad3214e | |||
| ce055dde55 | |||
| acc3c3042b | |||
| dc544d9184 | |||
| 72ba306102 | |||
| 81db5d1a3e | |||
| d80cddedf1 | |||
| 152481b1b6 | |||
| f4a64d2d89 | |||
| 38c3d39dd6 | |||
| 0329173949 | |||
| 7a355d274b | |||
| 5cec5d706d | |||
| 802901583a | |||
| 5c5e787678 | |||
| f541bc736a | |||
| da274f316e | |||
| 9c9b3e9d6e | |||
| 789aed30dd | |||
| a26e0b149e | |||
| ee03fdd40a | |||
| da561c82d8 | |||
| 0fae82498d | |||
| 55daf497b1 | |||
| 97a1c033d1 | |||
| 130779940b | |||
| 26fa595da3 | |||
| d0dcc42b64 | |||
| f517f080ca | |||
| 2246211d76 | |||
| b50f2350f5 | |||
| 935b98888b | |||
| 0f426d7797 | |||
| 5eed953bde | |||
| c537aaa323 | |||
| c00f6649a3 | |||
| a73fddfea7 | |||
| 04b29d087a | |||
| c1ebc11130 | |||
| 770ece7c19 | |||
| 45ead8cae1 | |||
| ebc3a11744 | |||
| 8317bc9557 | |||
| f3440890e6 |
@@ -3,7 +3,11 @@
|
||||
<classpathentry kind="src" path="src/test"/>
|
||||
<classpathentry kind="src" path="src/main/engine"/>
|
||||
<classpathentry kind="src" path="src/main/gui"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/java-8-oracle"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
|
||||
<attributes>
|
||||
<attribute name="module" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="lib" path="lib/dbunit-2.4.4.jar"/>
|
||||
<classpathentry kind="lib" path="lib/junit-4.4.jar"/>
|
||||
<classpathentry kind="lib" path="lib/log4j.jar"/>
|
||||
@@ -11,5 +15,11 @@
|
||||
<classpathentry kind="lib" path="lib/sdoc-0.5.0-beta.jar"/>
|
||||
<classpathentry kind="lib" path="lib/args4j.jar"/>
|
||||
<classpathentry kind="lib" path="config"/>
|
||||
<classpathentry kind="lib" path="lib/jsqlparser-1.3.jar"/>
|
||||
<classpathentry kind="lib" path="lib/tablefilter-swing-5.3.1.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jaxb-api-2.3.0-b170201.1204.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jaxb-core-2.3.0-b170127.1453.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jaxb-impl-2.3.0-b170127.1453.jar"/>
|
||||
<classpathentry kind="lib" path="lib/activation-1.0.2.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
<html><head><meta http-equiv="Refresh" content="0; URL=http://dbeauty.sourceforge.net/">
|
||||
</head><body></body></html>
|
||||
@@ -1,29 +0,0 @@
|
||||
DBeauty - Relational Data Browser
|
||||
|
||||
A relationship-oriented Database Browser.
|
||||
Provides insight into both the data and the interrelation of the rows.
|
||||
|
||||
|
||||
Features
|
||||
|
||||
* See the contents of any SQL database
|
||||
* Navigate bidirectionally through the database by following foreign-key-based or user-defined relationships
|
||||
* Automatic detection of foreign keys
|
||||
* SQL/DML generator
|
||||
* Execution of arbitrary SQL queries
|
||||
|
||||
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
Unzip the file "dbeauty_<N>.zip".
|
||||
|
||||
On windows platform execute "dbeauty.exe", or use "dbeauty.bat"
|
||||
On Unix/Linux platform execute the script "dbeauty.sh"
|
||||
|
||||
|
||||
Home: http://dbeauty.sourceforge.net/
|
||||
Forum: https://sourceforge.net/p/dbeauty/discussion/
|
||||
Support: rwisser@users.sourceforge.net
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
# Database Subsetting Tool
|
||||
# Jailer Database Tool
|
||||
|
||||
Jailer is a tool for database subsetting and relational data browsing.
|
||||
|
||||
- The Subsetter exports consistent, referentially intact row-sets from relational databases,
|
||||
generates topologically sorted SQL-DML, DbUnit datasets and hierarchically structured XML.
|
||||
- The Data Browser allows bidirectional navigation through the database
|
||||
by following foreign-key-based or user-defined relationships.
|
||||
|
||||
Jailer is a tool for database subsetting, schema and data browsing. It exports consistent,
|
||||
referentially intact row-sets from relational databases. It removes obsolete data without
|
||||
violating integrity. It is DBMS agnostic (by using JDBC), platform independent, and generates
|
||||
DbUnit datasets, hierarchically structured XML, and topologically sorted SQL-DML.
|
||||
|
||||
<img src="/docs/screenshot.png" width="850" />
|
||||
|
||||
@@ -12,12 +15,15 @@ DbUnit datasets, hierarchically structured XML, and topologically sorted SQL-DML
|
||||
- Exports consistent and referentially intact row-sets from your productive database
|
||||
and imports the data into your development and test environment.
|
||||
- Improves database performance by removing and archiving obsolete data without violating integrity.
|
||||
- Generates hierarchically structured XML, topologically sorted SQL-DML and DbUnit datasets.
|
||||
- Generates topologically sorted SQL-DML, hierarchically structured XML and DbUnit datasets.
|
||||
- Data Browsing. Navigate bidirectionally through the database by following foreign-key-based or user-defined relationships.
|
||||
- Open Source. Entirely written in Java. Platform independent. DBMS agnostic.
|
||||
- SQL Console with code completion, syntax highlighting and database metadata visualization.
|
||||
|
||||
|
||||
## News
|
||||
|
||||
- 2018-04-26 The new feature "Analyze SQL" analyzes SQL statements and proposes association definitions. This allows to reverse-engineer the data model based on existing SQL queries.
|
||||
- 2018-03-06 SQL Console with code completion, syntax highlighting and database metadata visualization.
|
||||
- 2017-05-10 New API provides programmatic access to the data export and import functionality. http://jailer.sourceforge.net/api.html
|
||||
- 2017-03-30 Improved filter management. Support for import-filters and literal-filters.
|
||||
- 2017-01-27 Referential cycles can now be exported by deferring the insert of nullable foreign keys.
|
||||
@@ -33,24 +39,21 @@ DbUnit datasets, hierarchically structured XML, and topologically sorted SQL-DML
|
||||
- 2007-06-05 Tutorial for Jailer now available.
|
||||
|
||||
|
||||
# Installation
|
||||
## Installation
|
||||
|
||||
Unzip the file "jailer_<N>.zip".
|
||||
Use the installer "Jailer-Install-<N>.exe" or unzip the file "jailer_<N>.zip".
|
||||
|
||||
- Database Subsetter
|
||||
|
||||
On windows platform execute "Jailer.exe". You can also start "jailerGUI.bat".
|
||||
On Unix/Linux platform execute the script "jailerGUI.sh" or use "java -jar jailer.jar"
|
||||
- Database Subsetter
|
||||
- On windows platform execute "Jailer.exe". You can also start "jailerGUI.bat".
|
||||
- On Unix/Linux platform execute the script "jailerGUI.sh" or use "java -jar jailer.jar"
|
||||
|
||||
|
||||
- Data Browser
|
||||
|
||||
On windows platform execute "jailerDataBrowser.exe", or "jailerDataBrowser.bat"
|
||||
On Unix/Linux platform execute the script "jailerDataBrowser.sh"
|
||||
- Data Browser
|
||||
- On windows platform execute "jailerDataBrowser.exe", or "jailerDataBrowser.bat"
|
||||
- On Unix/Linux platform execute the script "jailerDataBrowser.sh"
|
||||
|
||||
|
||||
|
||||
|
||||
- Home: http://jailer.sourceforge.net/
|
||||
- Forum: https://sourceforge.net/p/jailer/discussion/
|
||||
- Support: rwisser@users.sourceforge.net
|
||||
- Home: http://jailer.sourceforge.net/ or https://github.com/Wisser/Jailer
|
||||
- Forum: https://sourceforge.net/p/jailer/discussion/
|
||||
- Support: rwisser@users.sourceforge.net
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
!define Version "7.1"
|
||||
!define Version "%VERSION%"
|
||||
|
||||
; The name of the installer
|
||||
Name "Jailer ${Version}"
|
||||
@@ -66,14 +66,14 @@ Section "Start Menu Shortcuts"
|
||||
Delete "$SMPROGRAMS\Jailer\*.*"
|
||||
CreateShortcut "$SMPROGRAMS\Jailer\Jailer ${Version} .lnk" "$INSTDIR\Jailer.exe"
|
||||
CreateShortcut "$SMPROGRAMS\Jailer\Jailer ${Version} Data Browser.lnk" "$INSTDIR\JailerDataBrowser.exe"
|
||||
CreateShortcut "$SMPROGRAMS\Jailer\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
||||
; CreateShortcut "$SMPROGRAMS\Jailer\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section "Desktop Shortcuts"
|
||||
|
||||
CreateShortcut "$DESKTOP\Jailer ${Version}.lnk" "$INSTDIR\Jailer.exe"
|
||||
CreateShortcut "$DESKTOP\Jailer ${Version} Data Browser.lnk" "$INSTDIR\JailerDataBrowser.exe"
|
||||
CreateShortcut "$DESKTOP\Jailer.lnk" "$INSTDIR\Jailer.exe"
|
||||
CreateShortcut "$DESKTOP\Jailer Data Browser.lnk" "$INSTDIR\JailerDataBrowser.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
@@ -100,6 +100,6 @@ Section "Uninstall"
|
||||
|
||||
; Remove directories used
|
||||
RMDir "$SMPROGRAMS\Jailer"
|
||||
RMDir "$INSTDIR"
|
||||
RMDir /r "$INSTDIR"
|
||||
|
||||
SectionEnd
|
||||
|
||||
@@ -1,319 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<XML_DIZ_INFO>
|
||||
<MASTER_PAD_VERSION_INFO>
|
||||
<MASTER_PAD_VERSION>2.01</MASTER_PAD_VERSION>
|
||||
<MASTER_PAD_EDITOR>Online PAD Generator 1.33 - http://www.padbuilder.com</MASTER_PAD_EDITOR>
|
||||
<MASTER_PAD_INFO>Portable Application Description, or PAD for short, is a data set that is used by shareware authors to disseminate information to anyone interested in their software products. To find out more go to http://www.asp-shareware.org/pad</MASTER_PAD_INFO>
|
||||
</MASTER_PAD_VERSION_INFO>
|
||||
<Company_Info>
|
||||
<Company_Name>sourceforge</Company_Name>
|
||||
<Address_1 />
|
||||
<Address_2 />
|
||||
<City_Town />
|
||||
<State_Province />
|
||||
<Zip_Postal_Code />
|
||||
<Country />
|
||||
<Company_WebSite_URL>http://jailer.sourceforge.net</Company_WebSite_URL>
|
||||
<Contact_Info>
|
||||
<Author_First_Name>Ralf</Author_First_Name>
|
||||
<Author_Last_Name>Wisser</Author_Last_Name>
|
||||
<Author_Email>rwisser@users.sourceforge.net</Author_Email>
|
||||
<Contact_First_Name>Ralf</Contact_First_Name>
|
||||
<Contact_Last_Name>Wisser</Contact_Last_Name>
|
||||
<Contact_Email>rwisser@users.sourceforge.net</Contact_Email>
|
||||
</Contact_Info>
|
||||
<Support_Info>
|
||||
<Sales_Email />
|
||||
<Support_Email>rwisser@users.sourceforge.net</Support_Email>
|
||||
<General_Email>rwisser@users.sourceforge.net</General_Email>
|
||||
<Sales_Phone />
|
||||
<Support_Phone />
|
||||
<General_Phone />
|
||||
<Fax_Phone />
|
||||
</Support_Info>
|
||||
</Company_Info>
|
||||
<Program_Info>
|
||||
<Program_Name>Jailer</Program_Name>
|
||||
<Program_Version>2.4.0</Program_Version>
|
||||
<Program_Release_Month>06</Program_Release_Month>
|
||||
<Program_Release_Day>09</Program_Release_Day>
|
||||
<Program_Release_Year>2008</Program_Release_Year>
|
||||
<Program_Cost_Dollars />
|
||||
<Program_Cost_Other_Code />
|
||||
<Program_Cost_Other />
|
||||
<Program_Type>Open Source</Program_Type>
|
||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
||||
<Program_Install_Support />
|
||||
<Program_OS_Support>Win 3.1x,Win95,Win98,WinME,WinNT 3.x,WinXP,Windows2000,Windows2003,Unix,Linux,Linux Console,Linux Gnome,Linux Open Source,Mac PPC,Mac OS X,Mac Other,Java</Program_OS_Support>
|
||||
<Program_Language>English</Program_Language>
|
||||
<Program_Change_Info />
|
||||
<Program_Specific_Category>Development Tools</Program_Specific_Category>
|
||||
<Program_Category_Class>Development::Other</Program_Category_Class>
|
||||
<Program_Categories>Data Export</Program_Categories>
|
||||
<Program_System_Requirements>Java JRE 6.0</Program_System_Requirements>
|
||||
<Includes_JAVA_VM>Y</Includes_JAVA_VM>
|
||||
<Includes_VB_Runtime>N</Includes_VB_Runtime>
|
||||
<Includes_DirectX>N</Includes_DirectX>
|
||||
<File_Info>
|
||||
<Filename_Versioned />
|
||||
<Filename_Previous />
|
||||
<Filename_Generic />
|
||||
<Filename_Long />
|
||||
<File_Size_Bytes>6100000</File_Size_Bytes>
|
||||
<File_Size_K>5980.47</File_Size_K>
|
||||
<File_Size_MB>5.86</File_Size_MB>
|
||||
</File_Info>
|
||||
<Expire_Info>
|
||||
<Has_Expire_Info>N</Has_Expire_Info>
|
||||
<Expire_Count />
|
||||
<Expire_Based_On />
|
||||
<Expire_Other_Info />
|
||||
<Expire_Month />
|
||||
<Expire_Day />
|
||||
<Expire_Year />
|
||||
</Expire_Info>
|
||||
</Program_Info>
|
||||
<Program_Descriptions>
|
||||
<English>
|
||||
<Keywords>data export referential integrity java jdbc dbms schema browsing</Keywords>
|
||||
<Char_Desc_45>Model-based Data Export Tool</Char_Desc_45>
|
||||
<Char_Desc_80>Model-based Data Export Tool</Char_Desc_80>
|
||||
<Char_Desc_250>Exports consistent and referentially intact row-sets from your productive database and imports the data into your development and test environment. Removes and archives obsolete data from your productive database without violating integrity.</Char_Desc_250>
|
||||
<Char_Desc_450>Exports consistent and referentially intact row-sets from your productive database and imports the data into your development and test environment. Removes and archives obsolete data from your productive database without violating integrity. Open Source. Entirely written in Java. Database agnostic. Platform independent.</Char_Desc_450>
|
||||
<Char_Desc_2000>Exports consistent and referentially intact row-sets from your productive database and imports the data into your development and test environment. Removes and archives obsolete data from your productive database without violating integrity. Open Source. Entirely written in Java. Database agnostic. Platform independent.</Char_Desc_2000>
|
||||
</English>
|
||||
</Program_Descriptions>
|
||||
<Web_Info>
|
||||
<Application_URLs>
|
||||
<Application_Info_URL>http://jailer.sourceforge.net/</Application_Info_URL>
|
||||
<Application_Order_URL />
|
||||
<Application_Screenshot_URL>http://jailer.sourceforge.net/screenshot1.gif</Application_Screenshot_URL>
|
||||
<Application_Icon_URL />
|
||||
<Application_XML_File_URL>http://jailer.sourceforge.net/PAD_FILE.xml</Application_XML_File_URL>
|
||||
</Application_URLs>
|
||||
<Download_URLs>
|
||||
<Primary_Download_URL>https://sourceforge.net/project/showfiles.php?group_id=197260</Primary_Download_URL>
|
||||
<Secondary_Download_URL>https://sourceforge.net/project/downloading.php?group_id=197260&use_mirror=mesh&filename=jailer_2.2.0.zip&52363602</Secondary_Download_URL>
|
||||
<Additional_Download_URL_1 />
|
||||
<Additional_Download_URL_2 />
|
||||
</Download_URLs>
|
||||
</Web_Info>
|
||||
<Permissions>
|
||||
<Distribution_Permissions> Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based o</Distribution_Permissions>
|
||||
<EULA> Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
</EULA>
|
||||
</Permissions>
|
||||
</XML_DIZ_INFO>
|
||||
@@ -0,0 +1,102 @@
|
||||
!define Version "%VERSION%"
|
||||
|
||||
; The name of the installer
|
||||
Name "DBeauty ${Version}"
|
||||
|
||||
; The file to write
|
||||
OutFile "DBeauty-Install-${Version}.exe"
|
||||
|
||||
; The default installation directory
|
||||
InstallDir $PROGRAMFILES\DBeauty
|
||||
|
||||
; Registry key to check for directory (so if you install again, it will
|
||||
; overwrite the old one automatically)
|
||||
InstallDirRegKey HKLM "Software\DBeauty" "Install_Dir"
|
||||
|
||||
; Request application privileges for Windows Vista
|
||||
RequestExecutionLevel admin
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; Pages
|
||||
|
||||
Page components
|
||||
Page directory
|
||||
Page instfiles
|
||||
|
||||
UninstPage uninstConfirm
|
||||
UninstPage instfiles
|
||||
|
||||
Icon "..\src\main\gui\net\sf\jailer\ui\resource\Jailer.ico"
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; The stuff to install
|
||||
Section "DBeauty"
|
||||
|
||||
SectionIn RO
|
||||
|
||||
; Set output path to the installation directory.
|
||||
SetOutPath $INSTDIR
|
||||
|
||||
; Put file there
|
||||
|
||||
File /r "C:\tmp\dbeauty\*.*"
|
||||
|
||||
FileOpen $4 ".singleuser" w
|
||||
FileWrite $4 "1"
|
||||
FileClose $4
|
||||
|
||||
; Write the installation path into the registry
|
||||
WriteRegStr HKLM SOFTWARE\DBeauty "Install_Dir" "$INSTDIR"
|
||||
|
||||
; Write the uninstall keys for Windows
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DBeauty" "DisplayName" "DBeauty"
|
||||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DBeauty" "UninstallString" '"$INSTDIR\uninstall.exe"'
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DBeauty" "NoModify" 1
|
||||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DBeauty" "NoRepair" 1
|
||||
WriteUninstaller "uninstall.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
; Optional section (can be disabled by the user)
|
||||
Section "Start Menu Shortcuts"
|
||||
|
||||
CreateDirectory "$SMPROGRAMS\DBeauty"
|
||||
Delete "$SMPROGRAMS\DBeauty\*.*"
|
||||
CreateShortcut "$SMPROGRAMS\DBeauty\DBeauty ${Version} .lnk" "$INSTDIR\dbeauty.exe"
|
||||
; CreateShortcut "$SMPROGRAMS\DBeauty\Uninstall.lnk" "$INSTDIR\uninstall.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
Section "Desktop Shortcuts"
|
||||
|
||||
CreateShortcut "$DESKTOP\DBeauty.lnk" "$INSTDIR\dbeauty.exe"
|
||||
|
||||
SectionEnd
|
||||
|
||||
;--------------------------------
|
||||
|
||||
; Uninstaller
|
||||
|
||||
Section "Uninstall"
|
||||
|
||||
; Remove registry keys
|
||||
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\DBeauty"
|
||||
DeleteRegKey HKLM SOFTWARE\DBeauty
|
||||
|
||||
; Remove files and uninstaller
|
||||
; Delete $INSTDIR\example2.nsi
|
||||
; Delete $INSTDIR\uninstall.exe
|
||||
|
||||
; Remove shortcuts, if any
|
||||
Delete "$SMPROGRAMS\DBeauty\*.*"
|
||||
Delete "$INSTDIR\*.*"
|
||||
|
||||
Delete "$DESKTOP\DBeauty ${Version}.lnk"
|
||||
|
||||
; Remove directories used
|
||||
RMDir "$SMPROGRAMS\DBeauty"
|
||||
RMDir /r "$INSTDIR"
|
||||
|
||||
SectionEnd
|
||||
@@ -10,10 +10,9 @@ fi
|
||||
|
||||
|
||||
cd
|
||||
cd workspace/jailer-code/
|
||||
svn up
|
||||
sh admin/release.sh jailer_$1
|
||||
sh admin/release-dbeauty.sh dbeauty_$2
|
||||
cd git/Jailer
|
||||
git pull
|
||||
sh admin/release.sh $1
|
||||
cd
|
||||
cd tmp
|
||||
rm -r _$1
|
||||
@@ -21,47 +20,10 @@ mkdir _$1
|
||||
cd _$1
|
||||
unzip ../jailer_$1.zip
|
||||
cd jailer/
|
||||
cp jailer-engine-* ../../
|
||||
|
||||
cd
|
||||
cd tmp
|
||||
cd _$1
|
||||
cd jailer/
|
||||
head releasenotes.txt
|
||||
|
||||
cd ..
|
||||
cd ..
|
||||
rm -r _$2
|
||||
mkdir _$2
|
||||
cd _$2
|
||||
cd dbeauty
|
||||
unzip ../dbeauty_$2.zip
|
||||
|
||||
echo
|
||||
echo Jailer Releasenotes
|
||||
echo
|
||||
|
||||
cd
|
||||
cd tmp
|
||||
cd _$1
|
||||
cd jailer/
|
||||
head releasenotes.txt
|
||||
|
||||
echo
|
||||
echo DBeauty Releasenotes
|
||||
echo
|
||||
|
||||
cd
|
||||
cd tmp
|
||||
cd _$2
|
||||
cd dbeauty
|
||||
head releasenotes.txt
|
||||
|
||||
cd
|
||||
cd tmp
|
||||
cd _$1
|
||||
cd jailer/
|
||||
sh jailerGUI.sh &
|
||||
|
||||
cd
|
||||
cd tmp
|
||||
cd _$2
|
||||
cd dbeauty/
|
||||
sh dbeauty.sh &
|
||||
|
||||
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
rm -rf ~/tmp/dbeauty
|
||||
rm -rf ~/tmp/$1
|
||||
rm -rf ~/tmp/$1.co
|
||||
mkdir ~/tmp/dbeauty
|
||||
mkdir ~/tmp/$1
|
||||
mkdir ~/tmp/$1.co
|
||||
cd ~/tmp/$1.co
|
||||
svn checkout --username=rwisser https://svn.code.sf.net/p/jailer/code/trunk
|
||||
cd ..
|
||||
mv $1.co/trunk/* dbeauty
|
||||
cd dbeauty
|
||||
sed "s/new javax.swing.JComboBox()/new net.sf.jailer.ui.JComboBox()/g" src/main/gui/net/sf/jailer/ui/*.java --in-place
|
||||
sed "s/new javax.swing.JComboBox()/new net.sf.jailer.ui.JComboBox()/g" src/main/gui/net/sf/jailer/ui/databrowser/*.java --in-place
|
||||
find -iname ".svn" -exec rm -rf '{}' \;
|
||||
|
||||
ant package
|
||||
|
||||
chmod a+x *.sh
|
||||
|
||||
rm -rf admin
|
||||
rm -rf docs
|
||||
rm -rf out
|
||||
rm svn-commit.tmp
|
||||
mv datamodel.def datamodel
|
||||
rm -rf datamodel.scr
|
||||
ls jailer.jar
|
||||
|
||||
mv jailerDataBrowser.sh dbeauty.sh
|
||||
mv jailerDataBrowser.bat dbeauty.bat
|
||||
mv jailerDataBrowser.exe dbeauty.exe
|
||||
rm -rf jailerGUI.*
|
||||
rm -rf jailer.sh jailer.bat Demo.csv domainmodel example Jailer.exe README releasenotes.txt Jailer.html
|
||||
mv README-dbeauty README
|
||||
rm README.md
|
||||
mv releasenotes-dbeauty.txt releasenotes.txt
|
||||
echo "DBeauty" > .standalone
|
||||
|
||||
cd ..
|
||||
rm $1.zip
|
||||
zip -r $1.zip dbeauty
|
||||
@@ -1,33 +1,55 @@
|
||||
rm -rf ~/tmp/jailer
|
||||
rm -rf ~/tmp/jailer*
|
||||
rm -rf ~/tmp/dbeauty*
|
||||
rm -rf ~/tmp/$1
|
||||
rm -rf ~/tmp/$1.co
|
||||
mkdir ~/tmp/jailer
|
||||
mkdir ~/tmp/$1
|
||||
mkdir ~/tmp/$1.co
|
||||
cd ~/tmp/$1.co
|
||||
svn checkout --username=rwisser https://svn.code.sf.net/p/jailer/code/trunk
|
||||
git clone --depth 1 https://github.com/Wisser/Jailer.git
|
||||
cd ..
|
||||
mv $1.co/trunk/* jailer
|
||||
mv $1.co/Jailer/* jailer
|
||||
cd jailer
|
||||
sed "s/new javax.swing.JComboBox()/new net.sf.jailer.ui.JComboBox()/g" src/main/gui/net/sf/jailer/ui/*.java --in-place
|
||||
sed "s/new javax.swing.JComboBox()/new net.sf.jailer.ui.JComboBox()/g" src/main/gui/net/sf/jailer/ui/databrowser/*.java --in-place
|
||||
find -iname ".svn" -exec rm -rf '{}' \;
|
||||
find -iname ".git" -exec rm -rf '{}' \;
|
||||
|
||||
ant package
|
||||
|
||||
rm -rf docs/api
|
||||
rm -rf out
|
||||
|
||||
rm -rf ~/.wine/drive_c/tmp/jailer
|
||||
cp -r . ~/.wine/drive_c/tmp/jailer/
|
||||
rm -rf ~/.wine/drive_c/tmp/jailer/admin
|
||||
|
||||
sed s/%VERSION%/$1/g admin/Jailer.nsi > admin/tmp.nsi
|
||||
cd admin
|
||||
wine ~/nsis-3.03/makensis.exe tmp.nsi
|
||||
cd ..
|
||||
rm admin/tmp.nsi
|
||||
|
||||
rm -rf ~/.wine/drive_c/tmp/dbeauty
|
||||
cp -r . ~/.wine/drive_c/tmp/dbeauty/
|
||||
rm -rf ~/.wine/drive_c/tmp/dbeauty/admin
|
||||
|
||||
sed s/%VERSION%/$1/g admin/dbeauty.nsi > admin/tmp.nsi
|
||||
cd admin
|
||||
wine ~/nsis-3.03/makensis.exe tmp.nsi
|
||||
cd ..
|
||||
rm admin/tmp.nsi
|
||||
|
||||
sed s/%VERSION%/$1/g admin/Jailer.nsi > admin/tmp.nsi
|
||||
wine ~/nsis-3.03/makensis.exe admin/tmp.nsi
|
||||
rm admin/tmp.nsi
|
||||
|
||||
mv admin/*nstall* ..
|
||||
|
||||
chmod a+x *.sh
|
||||
|
||||
zip -r docs/admin.zip admin
|
||||
rm -rf admin
|
||||
rm -rf docs
|
||||
rm -rf out
|
||||
rm DBeauty.html
|
||||
mv datamodel.def datamodel
|
||||
rm -rf datamodel.scr
|
||||
ls jailer.jar
|
||||
|
||||
rm -rf README-dbeauty releasenotes-dbeauty.txt
|
||||
|
||||
cd ..
|
||||
rm $1.zip
|
||||
zip -r $1.zip jailer
|
||||
|
||||
zip -r jailer_$1.zip jailer
|
||||
cp -r jailer dbeauty
|
||||
zip -r dbeauty_$1.zip dbeauty
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
rm -rf ~/tmp/jailer
|
||||
rm -rf ~/tmp/1
|
||||
rm -rf ~/tmp/1.co
|
||||
mkdir ~/tmp/jailer
|
||||
mkdir ~/tmp/1
|
||||
mkdir ~/tmp/1.co
|
||||
cd ~/tmp/1.co
|
||||
svn checkout --username=rwisser https://svn.code.sf.net/p/jailer/code/trunk/docs/dbeauty jailer-code
|
||||
cd ..
|
||||
mv 1.co/dbeauty/* jailer
|
||||
cd jailer
|
||||
|
||||
find . -iname "*.htm" -exec sed "s|class=\"spacer\" .*width=\"100%\"> *<br>|class=\"spacer\" width=\"100%\">|g" '{}' --in-place \;
|
||||
find . -iname "*.html" -exec sed "s|class=\"spacer\" .*width=\"100%\"> *<br>|class=\"spacer\" width=\"100%\">|g" '{}' --in-place \;
|
||||
|
||||
cp home-db.htm index.html
|
||||
find -iname ".svn" -exec rm -rf '{}' \;
|
||||
find -iname ".cvs*" -exec rm -rf '{}' \;
|
||||
|
||||
scp -r * rwisser,dbeauty@web.sf.net:/home/project-web/dbeauty/htdocs/
|
||||
|
||||
@@ -10,9 +10,6 @@ cd ..
|
||||
mv 1.co/jailer-code/* jailer
|
||||
cd jailer
|
||||
|
||||
find . -iname "*.htm" -exec sed "s|class=\"spacer\" .*width=\"100%\"> *<br>|class=\"spacer\" width=\"100%\">|g" '{}' --in-place \;
|
||||
find . -iname "*.html" -exec sed "s|class=\"spacer\" .*width=\"100%\"> *<br>|class=\"spacer\" width=\"100%\">|g" '{}' --in-place \;
|
||||
|
||||
cp home.htm index.html
|
||||
find -iname ".svn" -exec rm -rf '{}' \;
|
||||
find -iname ".cvs*" -exec rm -rf '{}' \;
|
||||
|
||||
@@ -91,7 +91,7 @@ available targets:
|
||||
<jar destfile="${JAR}" basedir="${COMPILE_DIR}">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="net.sf.jailer.ui.ExtractionModelFrame" />
|
||||
<attribute name="Class-Path" value="lib/activation-1.0.2.jar lib/jaxb-core-2.3.0-b170127.1453.jar lib/jaxb-impl-2.3.0-b170127.1453.jar lib/jaxb-api-2.3.0-b170201.1204.jar lib/prefuse.jar config/ lib/log4j.jar lib/args4j.jar lib/sdoc-0.5.0-beta.jar" />
|
||||
<attribute name="Class-Path" value="lib/activation-1.0.2.jar lib/jaxb-core-2.3.0-b170127.1453.jar lib/jaxb-impl-2.3.0-b170127.1453.jar lib/jaxb-api-2.3.0-b170201.1204.jar lib/prefuse.jar config/ lib/log4j.jar lib/args4j.jar lib/sdoc-0.5.0-beta.jar lib/jsqlparser-1.3.jar lib/tablefilter-swing-5.3.1.jar" />
|
||||
</manifest>
|
||||
</jar>
|
||||
<copy todir=".">
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# name; last modification
|
||||
Demo-Sakila; 1501485460279
|
||||
Demo-Sakila;
|
||||
|
||||
|
@@ -1,2 +1,2 @@
|
||||
# name; last modification
|
||||
Demo-Scott; 1501485580546
|
||||
Demo-Scott;
|
||||
|
||||
|
@@ -0,0 +1,26 @@
|
||||
echo off
|
||||
set LIB=lib
|
||||
|
||||
rem JDBC-driver
|
||||
rem set CP=%CP%;<jdbc-driver>.jar
|
||||
|
||||
rem configuration files in the config directory
|
||||
set CP=%CP%;config
|
||||
|
||||
rem the libraries
|
||||
set CP=%CP%;%LIB%\junit.jar
|
||||
set CP=%CP%;%LIB%\commons-logging.jar
|
||||
set CP=%CP%;%LIB%\log4j.jar
|
||||
set CP=%CP%;%LIB%\args4j.jar
|
||||
set CP=%CP%;%LIB%\spring.jar
|
||||
set CP=%CP%;%LIB%\prefuse.jar
|
||||
set CP=%CP%;%LIB%\sdoc-0.5.0-beta.jar
|
||||
set CP=%CP%;%LIB%\activation-1.0.2.jar
|
||||
set CP=%CP%;%LIB%\jaxb-core-2.3.0-b170127.1453.jar
|
||||
set CP=%CP%;%LIB%\jaxb-impl-2.3.0-b170127.1453.jar
|
||||
set CP=%CP%;%LIB%\jaxb-api-2.3.0-b170201.1204.jar
|
||||
set CP=%CP%;%LIB%\jsqlparser-1.3.jar
|
||||
set CP=%CP%;%LIB%\tablefilter-swing-5.3.1.jar
|
||||
set CP=%CP%;jailer.jar
|
||||
|
||||
start javaw -Xmx1024M -cp %CP% net.sf.jailer.ui.databrowser.DataBrowser %*
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
instdir=`dirname $0`
|
||||
cd $instdir
|
||||
|
||||
LIB=lib
|
||||
|
||||
# JDBC-driver
|
||||
# CP=$CP:<driver-jar>
|
||||
|
||||
# configuration files in the config directory
|
||||
CP=$CP:config
|
||||
|
||||
# the libraries
|
||||
CP=$CP:$LIB/junit.jar
|
||||
CP=$CP:$LIB/commons-logging.jar
|
||||
CP=$CP:$LIB/log4j.jar
|
||||
CP=$CP:$LIB/args4j.jar
|
||||
CP=$CP:$LIB/spring.jar
|
||||
CP=$CP:$LIB/prefuse.jar
|
||||
CP=$CP:$LIB/sdoc-0.5.0-beta.jar
|
||||
CP=$CP:$LIB/activation-1.0.2.jar
|
||||
CP=$CP:$LIB/jaxb-core-2.3.0-b170127.1453.jar
|
||||
CP=$CP:$LIB/jaxb-impl-2.3.0-b170127.1453.jar
|
||||
CP=$CP:$LIB/jaxb-api-2.3.0-b170201.1204.jar
|
||||
CP=$CP:$LIB/jsqlparser-1.3.jar
|
||||
CP=$CP:$LIB/tablefilter-swing-5.3.1.jar
|
||||
CP=$CP:jailer.jar
|
||||
|
||||
# echo $CP
|
||||
|
||||
java -Xmx1024M -cp $CP net.sf.jailer.ui.databrowser.DataBrowser $@
|
||||
|
||||
@@ -1,207 +1,315 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><title>Jailer - API</title>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<title>Jailer - API</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
|
||||
<meta name="keywords" content="Data Export Tool" />
|
||||
<meta name="description" content="data export referential integrity java jdbc dbms" />
|
||||
<link rel="stylesheet" type="text/css" href="installation-2-Dateien/styles.css" />
|
||||
<link rel="shortcut icon" href="favicon.ico" />
|
||||
</head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="keywords" content="Data Export Tool">
|
||||
<meta name="description" content="data export referential integrity java jdbc dbms">
|
||||
<link rel="stylesheet" type="text/css" href="installation-2-Dateien/styles.css">
|
||||
<link rel="shortcut icon" href="favicon.ico"></head>
|
||||
<body left-margin="0" top-margin="0">
|
||||
<div align="left">
|
||||
<table style="text-align: left; position: absolute; left: 0pt; top: 0pt;" border="0" cellpadding="0" cellspacing="0" height="407" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2" class="bannerbackground" height="33" width="100%">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><img src="installation-2-Dateien/logo.png" hspace="10"></td>
|
||||
<td class="slogan" width="100%">Database Subsetting Tool</td>
|
||||
<td style="text-align: right; width: 100%;">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="http://sourceforge.net/projects/jailer/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=197260&type=1" alt="SourceForge.net Logo" style="border: 0px solid ;"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="http://www.java.net"><img src="javanet_button_90.gif" alt="java.net Member Button: 90px wide" border="0" height="25" width="90"></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="nav1background" height="33" width="100%"> <b><font color="#ffffff"><a href="home.htm" target="_self" class="tlink">Home</a>
|
||||
<a href="quicktour.htm" target="_self" class="tlink">Quick Tour</a>
|
||||
<a href="exporting-data.htm" target="_self" class="tlink">Tutorial</a>
|
||||
<a href="data-browsing.html" target="_self" class="tlink">Data Browser</a> <a href="faq.html" target="_self" class="tlink">FAQ</a> <a href="api.html" target="_self" class="tlinkA">API</a>
|
||||
<a href="design.htm" target="_self" class="tlink">Documentation</a>
|
||||
<a href="http://sourceforge.net/forum/?group_id=197260" target="_self" class="tlink">Forum</a>
|
||||
<a href="http://sourceforge.net/project/showfiles.php?group_id=197260" target="_self" class="tlink">Download</a>
|
||||
</font></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="spacer" width="100%">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="lmenucontainer" height="100%" valign="top" width="14%">
|
||||
<div align="center">
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="100%"><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
<ul>
|
||||
<li><a href="api.html" target="_self" class="llinkA">API</a></li>
|
||||
</ul>
|
||||
<table border="0" cellpadding="5" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="content2background"><img style="width: 160px; height: 1px;" alt="" src="architecture-Dateien/vgradp.gif"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
</td>
|
||||
<td class="contentbackground" height="418" valign="top" width="86%">
|
||||
<div align="right">
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="542" width="98%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="contentbackground" height="21" width="100%"><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="content" height="520" valign="top" width="100%">
|
||||
<small><small> </small></small><br>
|
||||
<big><span style="font-weight: bold;">Application Programming Interface<br>
|
||||
<br>
|
||||
</span></big>The API provides programmatic access to the data export and import functionality.<br><br><br>
|
||||
<big><span style="font-weight: bold;">Dependencies</span></big>
|
||||
<ul>
|
||||
<li>jailer-engine-<i>version</i>.jar</li>
|
||||
<li>log4J</li>
|
||||
</ul><br>
|
||||
<div align="left">
|
||||
<table style="text-align: left; position: absolute; left: 0pt; top: 0pt;" border="0"
|
||||
cellpadding="0" cellspacing="0" height="407" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2" class="bannerbackground" height="33" width="100%">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2" class="bannerbackground" height="33" width="100%">
|
||||
<table border="0" cellpadding="4" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><img src="installation-2-Dateien/logo.png" hspace=
|
||||
"10" /></td>
|
||||
|
||||
<big><span style="font-weight: bold;">Classes</span></big>
|
||||
<ul>
|
||||
<li>
|
||||
<a href = "api/net/sf/jailer/api/Subsetter.html" target="_blank">net.sf.jailer.api.Subsetter</a> <br>
|
||||
generates a subset of a relational database that respects foreign key constraints.
|
||||
</li>
|
||||
<li>
|
||||
<a href = "api/net/sf/jailer/api/Importer.html" target="_blank">net.sf.jailer.api.Importer</a> <br>
|
||||
imports subset data.<br></li>
|
||||
</ul>
|
||||
<td class="slogan" width="100%">
|
||||
Database Subsetting Tool</td>
|
||||
|
||||
<br><big><span style="font-weight: bold;">Example</span></big>
|
||||
<td style="text-align: right; width: 100%;"><a href=
|
||||
"http://sourceforge.net/projects/jailer/"><img src=
|
||||
"http://sflogo.sourceforge.net/sflogo.php?group_id=197260&type=1"
|
||||
style="border: 0px solid ;" /></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<br><br>
|
||||
The example is included in the jailer-engine-<i>version</i>.jar. It extracts some data from the "demo-scott" database and imports it into another database "demo-scott-subset".
|
||||
<br>
|
||||
<ul>
|
||||
<li>Packages<br> <img src="apipackages.gif"><br><br>
|
||||
The data model "Demo-Scott" and the extraction model "Demo-Scott.csv" are both embedded into the package and thus accessible as class resources.
|
||||
<br><br><br>
|
||||
</li>
|
||||
<li>Source<br>
|
||||
<tr>
|
||||
<td colspan="2" class="nav1background" height="33" width="100%">
|
||||
<b><font color="#FFFFFF"><a href="home.htm" target="_self" class=
|
||||
"tlink">Home</a> <a href="quicktour.htm" target=
|
||||
"_self" class="tlink">Quick Tour</a> <a href=
|
||||
"exporting-data.htm" target="_self" class="tlink">Tutorial</a>
|
||||
<a href="data-browsing.html" target="_self" class=
|
||||
"tlink">Data Browser</a> <a href="faq.html" target=
|
||||
"_self" class="tlink">FAQ</a> <a href="api.html"
|
||||
target="_self" class="tlinkA">API</a> <a href=
|
||||
"design.htm" target="_self" class="tlink">Documentation</a>
|
||||
<a href=
|
||||
"http://sourceforge.net/forum/?group_id=197260" target="_self" class=
|
||||
"tlink">Forum</a> <a href=
|
||||
"http://sourceforge.net/project/showfiles.php?group_id=197260" target=
|
||||
"_self" class="tlink">Download</a>
|
||||
</font></b></td>
|
||||
</tr>
|
||||
|
||||
<div style='background:#FFFFFF; font-family: Courier New, Courier; font-size: 10pt; COLOR: #000000; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;'>
|
||||
<br/><strong><font color='#7f0055'>package</font></strong> net.sf.jailer.api_example;
|
||||
<br/>
|
||||
<br/><strong><font color='#7f0055'>import</font></strong> java.io.File;
|
||||
<br/><strong><font color='#7f0055'>import</font></strong> java.io.IOException;
|
||||
<br/><strong><font color='#7f0055'>import</font></strong> java.sql.SQLException;
|
||||
<br/>
|
||||
<br/><strong><font color='#7f0055'>import</font></strong> net.sf.jailer.api.Importer;
|
||||
<br/><strong><font color='#7f0055'>import</font></strong> net.sf.jailer.api.Subsetter;
|
||||
<br/><strong><font color='#7f0055'>import</font></strong> net.sf.jailer.configuration.Configuration;
|
||||
<br/><strong><font color='#7f0055'>import</font></strong> net.sf.jailer.database.BasicDataSource;
|
||||
<br/><strong><font color='#7f0055'>import</font></strong> net.sf.jailer.subsetting.ScriptFormat;
|
||||
<br/>
|
||||
<br/><font color='#2040a0'>/**
|
||||
<br/> * Jailer API Example. <br>
|
||||
*
|
||||
<br/> * Extracts some data from the "demo-scott" database
|
||||
<br/> * and imports it into another database "demo-scott-subset".
|
||||
<br/> */</font>
|
||||
<br/><strong><font color='#7f0055'>public</font></strong> <strong><font color='#7f0055'>class</font></strong> APIExample {
|
||||
<br/>
|
||||
<br/> <font color='#3f7f5f'>// JDBC connection pool size
|
||||
</font><br/> <strong><font color='#7f0055'>private</font></strong> <strong><font color='#7f0055'>static</font></strong> <strong><font color='#7f0055'>final</font></strong> <strong><font color='#7f0055'>int</font></strong> POOL_SIZE = 10;
|
||||
<br/>
|
||||
<br/> <font color='#3f7f5f'>// The subsetter
|
||||
</font><br/> <strong><font color='#7f0055'>private</font></strong> <strong><font color='#7f0055'>static</font></strong> Subsetter subsetter =
|
||||
<br/> <strong><font color='#7f0055'>new</font></strong> Subsetter(
|
||||
<br/> <strong><font color='#7f0055'>new</font></strong> BasicDataSource(
|
||||
<br/> <font color='#2a00ff'>"org.h2.Driver"</font>, <font color='#2a00ff'>"jdbc:h2:demo-scott"</font>, <font color='#2a00ff'>"sa"</font>, <font color='#2a00ff'>""</font>,
|
||||
<br/> POOL_SIZE,
|
||||
<br/> <strong><font color='#7f0055'>new</font></strong> File(<font color='#2a00ff'>"lib/h2-1.3.160.jar"</font>)),
|
||||
<br/> <strong><font color='#7f0055'>null</font></strong>,
|
||||
<br/> APIExample.<strong><font color='#7f0055'>class</font></strong>.getResource(<font color='#2a00ff'>"Demo-Scott"</font>),
|
||||
<br/> APIExample.<strong><font color='#7f0055'>class</font></strong>.getResource(<font color='#2a00ff'>"Demo-Scott.csv"</font>),
|
||||
<br/> ScriptFormat.SQL);
|
||||
<br/>
|
||||
<br/> <font color='#3f7f5f'>// The importer
|
||||
</font><br/> <strong><font color='#7f0055'>private</font></strong> <strong><font color='#7f0055'>static</font></strong> Importer importer =
|
||||
<br/> <strong><font color='#7f0055'>new</font></strong> Importer(
|
||||
<br/> <strong><font color='#7f0055'>new</font></strong> BasicDataSource(
|
||||
<br/> <font color='#2a00ff'>"org.h2.Driver"</font>, <font color='#2a00ff'>"jdbc:h2:demo-scott-subset"</font>, <font color='#2a00ff'>"sa"</font>, <font color='#2a00ff'>""</font>,
|
||||
<br/> 10,
|
||||
<br/> <strong><font color='#7f0055'>new</font></strong> File(<font color='#2a00ff'>"lib/h2-1.3.160.jar"</font>)));
|
||||
<br/>
|
||||
<br/> <font color='#2040a0'>/**
|
||||
<br/> * Exports data related with employee "SCOTT"
|
||||
<br/> * and imports it into another database.
|
||||
<br/> */</font>
|
||||
<br/> <strong><font color='#7f0055'>public</font></strong> <strong><font color='#7f0055'>static</font></strong> <strong><font color='#7f0055'>void</font></strong> main(String[] args) <strong><font color='#7f0055'>throws</font></strong> SQLException, IOException {
|
||||
<br/> File exportScriptFile = Configuration.getInstance().createTempFile();
|
||||
<br/>
|
||||
<br/> subsetter.setUpsertOnly(<strong><font color='#7f0055'>true</font></strong>); <font color='#3f7f5f'>// overwrite previous data
|
||||
</font><br/> subsetter.execute(<font color='#2a00ff'>"NAME='SCOTT'"</font>, exportScriptFile);
|
||||
<br/>
|
||||
<br/> importer.execute(exportScriptFile);
|
||||
<br/>
|
||||
<br/> exportScriptFile.delete();
|
||||
<br/> }
|
||||
<br/>
|
||||
<br/>}
|
||||
<br/><div style='text-align:right;BORDER-TOP: #ccc 1px dashed'><a href="http://www.togotutor.com/code-to-html/java-to-html.php" target="_blank">Code Formatted by ToGoTutor</a></div></div>
|
||||
<tr>
|
||||
<td colspan="2" class="spacer" width="100%"></td>
|
||||
</tr>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
<tr>
|
||||
<td class="lmenucontainer" height="100%" valign="top" width="14%">
|
||||
<div align="center">
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="100%"><br /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="12" valign="top" width="14%"><br>
|
||||
</td>
|
||||
<td><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body></html>
|
||||
<ul>
|
||||
<li><a href="api.html" target="_self" class="llinkA">API</a></li>
|
||||
</ul>
|
||||
|
||||
<table border="0" cellpadding="5" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="content2background"><img style=
|
||||
"width: 160px; height: 1px;" alt="" src=
|
||||
"architecture-Dateien/vgradp.gif" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p> </p>
|
||||
</td>
|
||||
|
||||
<td class="contentbackground" height="418" valign="top" width="86%">
|
||||
<div align="right">
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="542"
|
||||
width="98%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="contentbackground" height="21" width="100%">
|
||||
<br /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="content" height="520" valign="top" width="100%">
|
||||
<small><small> </small></small><br />
|
||||
<big><span style="font-weight: bold;">Application
|
||||
Programming Interface<br />
|
||||
<br /></span></big> The API provides programmatic access to
|
||||
the data export and import functionality.<br />
|
||||
<br />
|
||||
<br />
|
||||
<big><span style=
|
||||
"font-weight: bold;">Dependencies</span></big>
|
||||
|
||||
<ul>
|
||||
<li>jailer-engine-<i>version</i>.jar</li>
|
||||
|
||||
<li>log4J</li>
|
||||
</ul><br />
|
||||
<big><span style="font-weight: bold;">Classes</span></big>
|
||||
|
||||
<ul>
|
||||
<li><a href="api/net/sf/jailer/api/Subsetter.html"
|
||||
target="_blank">net.sf.jailer.api.Subsetter</a><br />
|
||||
generates a subset of a relational database that respects
|
||||
foreign key constraints.</li>
|
||||
|
||||
<li><a href="api/net/sf/jailer/api/Importer.html" target=
|
||||
"_blank">net.sf.jailer.api.Importer</a><br />
|
||||
imports subset data.<br /></li>
|
||||
</ul><br />
|
||||
<big><span style=
|
||||
"font-weight: bold;">Example</span></big><br />
|
||||
<br />
|
||||
The example is included in the
|
||||
jailer-engine-<i>version</i>.jar. It extracts some data
|
||||
from the "demo-scott" database and imports it into another
|
||||
database "demo-scott-subset".<br />
|
||||
|
||||
<ul>
|
||||
<li>Packages<br />
|
||||
<img src="apipackages.gif" /><br />
|
||||
<br />
|
||||
The data model "Demo-Scott" and the extraction model
|
||||
"Demo-Scott.csv" are both embedded into the package and
|
||||
thus accessible as class resources.<br />
|
||||
<br />
|
||||
<br /></li>
|
||||
|
||||
<li>Source<br />
|
||||
|
||||
<div style=
|
||||
'background:#FFFFFF; font-family: Courier New, Courier; font-size: 10pt; COLOR: #000000; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;'>
|
||||
<br />
|
||||
<strong><font color=
|
||||
'#7F0055'>package</font></strong> net.sf.jailer.api_example;<br />
|
||||
|
||||
<br />
|
||||
<strong><font color=
|
||||
'#7F0055'>import</font></strong> java.io.File;<br />
|
||||
|
||||
<strong><font color=
|
||||
'#7F0055'>import</font></strong> java.io.IOException;<br />
|
||||
|
||||
<strong><font color=
|
||||
'#7F0055'>import</font></strong> java.sql.SQLException;<br />
|
||||
|
||||
<br />
|
||||
<strong><font color=
|
||||
'#7F0055'>import</font></strong> net.sf.jailer.api.Importer;<br />
|
||||
|
||||
<strong><font color=
|
||||
'#7F0055'>import</font></strong> net.sf.jailer.api.Subsetter;<br />
|
||||
|
||||
<strong><font color=
|
||||
'#7F0055'>import</font></strong> net.sf.jailer.configuration.Configuration;<br />
|
||||
|
||||
<strong><font color=
|
||||
'#7F0055'>import</font></strong> net.sf.jailer.database.BasicDataSource;<br />
|
||||
|
||||
<strong><font color=
|
||||
'#7F0055'>import</font></strong> net.sf.jailer.subsetting.ScriptFormat;<br />
|
||||
|
||||
<br />
|
||||
<font color='#2040A0'>/**<br />
|
||||
* Jailer API Example. <br />
|
||||
|
||||
* <br />
|
||||
* Extracts some data from the "demo-scott" database<br />
|
||||
|
||||
* and imports it into another database "demo-scott-subset".<br />
|
||||
|
||||
*/</font><br />
|
||||
<strong><font color=
|
||||
'#7F0055'>public</font></strong> <strong><font color='#7F0055'>class</font></strong> APIExample {<br />
|
||||
|
||||
<br />
|
||||
<font color=
|
||||
'#3F7F5F'>// JDBC connection pool size</font><br />
|
||||
|
||||
<strong><font color=
|
||||
'#7F0055'>private</font></strong> <strong><font color='#7F0055'>static</font></strong> <strong><font color='#7F0055'>final</font></strong> <strong><font color='#7F0055'>int</font></strong> POOL_SIZE = 10;<br />
|
||||
|
||||
<br />
|
||||
<font color=
|
||||
'#3F7F5F'>// The subsetter</font><br />
|
||||
<strong><font color=
|
||||
'#7F0055'>private</font></strong> <strong><font color='#7F0055'>static</font></strong> Subsetter subsetter = <br />
|
||||
|
||||
<strong><font color='#7F0055'>new</font></strong> Subsetter(<br />
|
||||
|
||||
<strong><font color='#7F0055'>new</font></strong> BasicDataSource(<br />
|
||||
|
||||
<font color='#2A00FF'>"org.h2.Driver"</font>, <font color='#2A00FF'>"jdbc:h2:demo-scott"</font>, <font color='#2A00FF'>"sa"</font>, <font color='#2A00FF'>""</font>,<br />
|
||||
|
||||
POOL_SIZE,<br />
|
||||
|
||||
<strong><font color='#7F0055'>new</font></strong> File(<font color='#2A00FF'>"lib/h2-1.3.160.jar"</font>)),<br />
|
||||
|
||||
<strong><font color='#7F0055'>null</font></strong>,<br />
|
||||
|
||||
APIExample.<strong><font color='#7F0055'>class</font></strong>.getResource(<font color='#2A00FF'>"Demo-Scott"</font>),<br />
|
||||
|
||||
APIExample.<strong><font color='#7F0055'>class</font></strong>.getResource(<font color='#2A00FF'>"Demo-Scott.csv"</font>),<br />
|
||||
|
||||
ScriptFormat.SQL);<br />
|
||||
|
||||
<br />
|
||||
<font color=
|
||||
'#3F7F5F'>// The importer</font><br />
|
||||
<strong><font color=
|
||||
'#7F0055'>private</font></strong> <strong><font color='#7F0055'>static</font></strong> Importer importer =<br />
|
||||
|
||||
<strong><font color='#7F0055'>new</font></strong> Importer(<br />
|
||||
|
||||
<strong><font color='#7F0055'>new</font></strong> BasicDataSource(<br />
|
||||
|
||||
<font color='#2A00FF'>"org.h2.Driver"</font>, <font color='#2A00FF'>"jdbc:h2:demo-scott-subset"</font>, <font color='#2A00FF'>"sa"</font>, <font color='#2A00FF'>""</font>,<br />
|
||||
|
||||
10,<br />
|
||||
|
||||
<strong><font color='#7F0055'>new</font></strong> File(<font color='#2A00FF'>"lib/h2-1.3.160.jar"</font>)));<br />
|
||||
|
||||
<br />
|
||||
<font color=
|
||||
'#2040A0'>/**<br />
|
||||
* Exports data related with employee "SCOTT"<br />
|
||||
|
||||
* and imports it into another database.<br />
|
||||
|
||||
*/</font><br />
|
||||
<strong><font color=
|
||||
'#7F0055'>public</font></strong> <strong><font color='#7F0055'>static</font></strong> <strong><font color='#7F0055'>void</font></strong> main(String[] args) <strong><font color='#7F0055'>throws</font></strong> SQLException, IOException {<br />
|
||||
|
||||
File exportScriptFile = Configuration.getInstance().createTempFile();<br />
|
||||
|
||||
<br />
|
||||
|
||||
subsetter.setUpsertOnly(<strong><font color='#7F0055'>true</font></strong>); <font color='#3F7F5F'>// overwrite previous data</font><br />
|
||||
|
||||
subsetter.execute(<font color='#2A00FF'>"NAME='SCOTT'"</font>, exportScriptFile);<br />
|
||||
|
||||
<br />
|
||||
|
||||
importer.execute(exportScriptFile);<br />
|
||||
|
||||
<br />
|
||||
|
||||
exportScriptFile.delete();<br />
|
||||
|
||||
}<br />
|
||||
<br />
|
||||
}<br />
|
||||
|
||||
<div style=
|
||||
'text-align:right;BORDER-TOP: #ccc 1px dashed'>
|
||||
<a href=
|
||||
"http://www.togotutor.com/code-to-html/java-to-html.php"
|
||||
target="_blank">Code Formatted by ToGoTutor</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p><br /></p>
|
||||
|
||||
<p><br /></p>
|
||||
|
||||
<p><br />
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td height="12" valign="top" width="14%"><br /></td>
|
||||
|
||||
<td><br /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,166 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Jailer - Architecture</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="keywords" content="Data Export Tool">
|
||||
<meta name="description"
|
||||
content="data export referential integrity java jdbc dbms">
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href="architecture-Dateien/styles.css">
|
||||
<link rel="shortcut icon" href="favicon.ico" >
|
||||
|
||||
</head>
|
||||
<body left-margin="0" top-margin="0">
|
||||
<div align="left">
|
||||
<table
|
||||
style="text-align: left; position: absolute; left: 0pt; top: 0pt;"
|
||||
border="0" cellpadding="0" cellspacing="0" height="407" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2" class="bannerbackground" height="33" width="100%">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><img src="architecture-Dateien/logo.png" hspace="10"></td>
|
||||
<td class="slogan" width="100%">Database Subsetting Tool</td>
|
||||
<td style="text-align: right; width: 100%;"><table border="0" cellpadding="0" cellspacing="0"><tr><td><a
|
||||
href="http://sourceforge.net/projects/jailer/"><img
|
||||
src="http://sflogo.sourceforge.net/sflogo.php?group_id=197260&type=1"
|
||||
alt="SourceForge.net Logo" style="border: 0px solid ;"></a></td></tr><tr><td><a href=http://www.java.net><img src="javanet_button_90.gif" width="90" height="25" border="0" alt="java.net Member Button: 90px wide"></a></td></tr></table></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="nav1background" height="33" width="100%">
|
||||
<b><font color="#ffffff"><a href="home.htm" target="_self"
|
||||
class="tlink">Home</a> <a href="exporting-data.htm"
|
||||
target="_self" class="tlink">Tutorial</a> <a href="data-browsing.html" target="_self" class="tlink">Data Browser</a> <a href="faq.html" target="_self" class="tlink">FAQ</a> <a href="api.html" target="_self" class="tlink">API</a> <a
|
||||
href="documentation.htm" target="_self" class="tlinkA">Documentation</a>
|
||||
<a href="http://sourceforge.net/forum/?group_id=197260" target="_self" class="tlink">Forum</a> <a
|
||||
href="http://sourceforge.net/project/showfiles.php?group_id=197260"
|
||||
target="_self" class="tlink">Download</a>
|
||||
</font></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="spacer" width="100%">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="lmenucontainer" height="100%" valign="top" width="14%">
|
||||
<div align="center">
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="100%"><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
<ul>
|
||||
<li><a href="architecture.htm" target="_self" class="llinkA">Architecture</a></li>
|
||||
<li><a href="design.htm" target="_self" class="llink">Design</a></li>
|
||||
<li><a href="file-formats.htm" target="_self" class="llink">File
|
||||
Formats</a></li>
|
||||
<li><a href="terms.htm" target="_self" class="llink">Terms</a></li>
|
||||
</ul>
|
||||
<table border="0" cellpadding="5" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="content2background"><img
|
||||
style="width: 160px; height: 1px;" alt=""
|
||||
src="architecture-Dateien/vgradp.gif"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
</td>
|
||||
<td class="contentbackground" height="418" valign="top"
|
||||
width="86%">
|
||||
<div align="right">
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="542"
|
||||
width="98%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="contentbackground" height="21" width="100%"><br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="content" height="520" valign="top" width="100%">
|
||||
<p> </p>
|
||||
<br>
|
||||
<img alt="architecture" src="architecture-Dateien/arch.png"><br>
|
||||
<br>
|
||||
<br>
|
||||
<ul>
|
||||
<li class="level1">
|
||||
<div class="li"><strong>Datamodel.</strong> Describes
|
||||
tables and associations.<strong></strong></div>
|
||||
</li>
|
||||
<li class="level1">
|
||||
<div class="li"><strong>Restrictionmodel.</strong>
|
||||
Restricts associations to control the exportation.<br>
|
||||
</div>
|
||||
</li>
|
||||
<li class="level1"><strong>Extractionmodel.</strong>
|
||||
Defines the subject and determines the restriction models. </li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align: top;"><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p> <br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
<p><br>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="12" valign="top" width="14%"><br>
|
||||
</td>
|
||||
<td><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,331 +0,0 @@
|
||||
<html><head><title>Open Jail - The Jailer Project Web Site</title>
|
||||
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="keywords" content="Data Export Tool">
|
||||
<meta name="description" content="data export referential integrity java jdbc dbms">
|
||||
<link rel="shortcut icon" href="favicon.ico" >
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="cli-tutorial-Dateien/styles.css"></head><body left-margin="0" top-margin="0">
|
||||
<div align="left">
|
||||
<table style="text-align: left; position: absolute; left: 0pt; top: 0pt;" border="0" cellpadding="0" cellspacing="0" height="407" width="100%">
|
||||
<tbody><tr>
|
||||
<td colspan="2" class="bannerbackground" height="33" width="100%"><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody><tr>
|
||||
<td><img src="cli-tutorial-Dateien/logo.png" hspace="10"></td>
|
||||
<td class="slogan">Database Subsetting Tool</td><td style="text-align: right; width: 100%;"><a href="http://sourceforge.net/projects/jailer/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=197260&type=1" alt="SourceForge.net Logo" style="border: 0px solid ;"></a></td></tr><tr><td><a href=http://www.java.net><img src="javanet_button_90.gif" width="90" height="25" border="0" alt="java.net Member Button: 90px wide"></a></td></tr></table></td></tr></tbody></table>
|
||||
<b><font color="#ffffff"> </font></b></td></tr>
|
||||
<tr>
|
||||
<td colspan="2" class="nav1background" height="33" width="100%"> <b><font color="#ffffff">
|
||||
<a href="home.htm" target="_self" class="tlink">Home</a>
|
||||
<a href=exporting-data.htm target="_self" class="tlinkA">Tutorial</a> <a href="design.htm" target="_self" class="tlink">Documentation</a> <a href="http://sourceforge.net/project/showfiles.php?group_id=197260" target="_self" class="tlink">Download</a> </font></b></td></tr>
|
||||
<tr>
|
||||
<td colspan="2" class="spacer" height="21" width="100%"></td></tr>
|
||||
<tr>
|
||||
<td class="lmenucontainer" height="100%" valign="top" width="14%">
|
||||
<div align="center">
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody><tr>
|
||||
<td width="100%"></td></tr></tbody></table></center></div>
|
||||
<ul>
|
||||
<li><a href="exporting-data.htm" target="_self" class="llink">Exporting Data</a></li>
|
||||
<li><a href="deleting-data.htm" target="_self" class="llink">Deleting Data</a></li>
|
||||
<li><a href="exclude-del.htm" target="_self" class="llink">exclude-del</a></li>
|
||||
<li><a href="export-all.htm" target="_self" class="llink">export-all</a></li>
|
||||
<li><a href="cli-tutorial.htm" target="_self" class="llinkA">cli-tutorial</a></li></ul>
|
||||
<table border="0" cellpadding="5" cellspacing="0" width="100%">
|
||||
<tbody><tr>
|
||||
<td class="content2background"><img style="width: 160px; height: 1px;" alt="" src="architecture-Dateien/vgradp.gif"></td></tr></tbody></table><p> </p></td>
|
||||
<td class="contentbackground" height="418" valign="top" width="86%">
|
||||
<div align="right">
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="542" width="98%">
|
||||
<tbody><tr>
|
||||
<td class="contentbackground" height="21" width="100%"></td></tr>
|
||||
<tr>
|
||||
<td class="content" height="520" valign="top" width="100%"><p> </p>
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td valign="top" width="100%">
|
||||
<h2>Tutorial <small>(using Command Line Interface)</small><br></h2>
|
||||
<h3>Prerequisites</h3>
|
||||
<ul>
|
||||
<li>Java JRE 1.5 or above (<a href="http://java.sun.com/javase/downloads/index.jsp"><img style="border: 0px solid ; width: 13px; height: 13px;" src="cli-tutorial-Dateien/arrow.gif" hspace="4">download</a>) </li><li>R-DBMS with JDBC-driver<br>
|
||||
</li><li>jailer_1.0.zip </li></ul>
|
||||
<h3><br></h3>
|
||||
<h3>Step 1. Setup Jailer</h3>Unpack jailer.zip:<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$unzip jailer_0.9.6.zip<br>$cd jailer<br style="font-family: monospace;"></span><span style="font-family: monospace;">$ll</span><br style="font-family: monospace;"><span style="font-family: monospace;">drwxr-xr-x 3 wisser users 136 2007-06-01 10:12 jailer.sh</span><br style="font-family: monospace;"><span style="font-family: monospace;">-rw-r--r-- 1 wisser users 1175 2007-06-01 10:10 build.xml</span><br style="font-family: monospace;"><span style="font-family: monospace;">drwxr-xr-x 3 wisser users 136 2007-06-01 10:10 config</span><br style="font-family: monospace;"><span style="font-family: monospace;">drwxr-xr-x 3 wisser users 344 2007-06-01 10:10 datamodel</span><br style="font-family: monospace;"><span style="font-family: monospace;">drwxr-xr-x 3 wisser users 184 2007-06-01 10:10 example</span><br style="font-family: monospace;"><span style="font-family: monospace;">drwxr-xr-x 3 wisser users 160 2007-06-01 10:10 extractionmodel</span><br style="font-family: monospace;"><span style="font-family: monospace;">drwxr-xr-x 3 wisser users 272 2007-06-01 10:11 lib</span><br style="font-family: monospace;"><span style="font-family: monospace;">drwxr-xr-x 3 wisser users 112 2007-06-01 10:10 restrictionmodel</span><br style="font-family: monospace;"><span style="font-family: monospace;">drwxr-xr-x 4 wisser users 160 2007-06-01 10:10 script</span><br style="font-family: monospace;"><span style="font-family: monospace;">drwxr-xr-x 4 wisser users 96 2007-06-01 10:10 src</span><br></td></tr></tbody></table><br>Register the JDBC-Driver. Edit the file <span style="font-family: monospace;">jailer.sh</span> and put the JDBC-Driver into the class-path:<br><br>
|
||||
<table style="background-color: rgb(51, 102, 255); text-align: left;" border="0" cellpadding="2" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; height: 24px; background-color: rgb(202, 225, 235);"><big><span style="font-family: monospace;"><span style="font-weight: bold;">jailer.sh</span></span><span style="font-family: monospace;"></span></big><br></td></tr></tbody></table>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(202, 225, 235);" colspan="2"><span style="font-family: monospace;">JDBCLIB=<span style="color: rgb(51, 51, 255); font-style: italic;">path to the JDBC-Driver-jar</span></span><br style="font-family: monospace;"><span style="font-family: monospace;">LIB=lib</span><br style="font-family: monospace;"><span style="font-family: monospace;">CP=.:out:out/jailer.jar</span><br style="font-family: monospace;"><br style="font-family: monospace;"><span style="font-family: monospace;"># JDBC-driver</span><br style="font-family: monospace;"><span style="font-family: monospace;">CP=$CP:$JDBCLIB/</span><span style="font-family: monospace;"><span style="color: rgb(51, 51, 255); font-style: italic;">JDBC-Driver-jar</span></span><br style="font-family: monospace;"><span style="font-family: monospace;"></span><br style="font-family: monospace;"><span style="font-family: monospace;"># configuration files in the config directory</span><br style="font-family: monospace;"><span style="font-family: monospace;">CP=$CP:config</span><br style="font-family: monospace;"><br style="font-family: monospace;"><span style="font-family: monospace;"># the libraries</span><br style="font-family: monospace;"><span style="font-family: monospace;">CP=$CP:$LIB/junit.jar</span><br style="font-family: monospace;"><span style="font-family: monospace;">CP=$CP:$LIB/commons-logging.jar</span><br style="font-family: monospace;"><span style="font-family: monospace;">CP=$CP:$LIB/log4j.jar</span><br style="font-family: monospace;"><span style="font-family: monospace;">CP=$CP:$LIB/args4j.jar</span><br style="font-family: monospace;"><span style="font-family: monospace;">CP=$CP:$LIB/spring.jar</span><br style="font-family: monospace;"><span style="font-family: monospace;">CP=$CP:$LIB/jailer.jar</span><br style="font-family: monospace;"><br style="font-family: monospace;"><span style="font-family: monospace;">java -cp $CP net.sf.jailer.Jailer $@</span><br></td></tr></tbody></table><br>
|
||||
<h3>Step 2. Setup the Database</h3>Create a new schema and execute <a href="file:///C:/Users/ralf/Documents/Open%20Jail.%20The%20Jailer%20Project%20Web%20Site/local/user/bin/scott-tiger.sql.html"><img style="border: 0px solid ; width: 13px; height: 13px;" src="cli-tutorial-Dateien/arrow.gif" hspace="4"><big><span style="font-family: monospace;">script/scott-tiger.sql</span></big></a>. Make sure that the script runs successfully.<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$db2 connect to wisser </span><span style="font-family: monospace;">user scott </span><span style="font-family: monospace;">using tiger<span style="font-family: mon;"><span style="font-style: italic;"></span></span></span><span style="font-family: monospace;"><span style="color: rgb(51, 51, 255); font-style: italic;"></span></span><br><span style="font-family: monospace;">$db2 -tvf script/scott-tiger.sql<br></span><span style="font-family: monospace;"></span></td></tr></tbody></table><br>
|
||||
<h3>Step 3. Building the data model</h3>Jailer needs to know all the tables and all associations between them, so we must tell him. Tables are defined in <big><span style="font-family: monospace;">datamodel/table.csv</span><small>,</small></big><small></small>associations in <big><span style="font-family: monospace;">datamodel/association.csv</span>.</big><br><br>Fortunately most of the model definitions can be generated automatically by analyzing the relational database.<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh jailer.sh build-model com.ibm.db2.jcc.DB2Driver jdbc:db2://localhost:50001/wisser scott tiger<br>Jailer 0.9.5<br><br>Building data model.<br>See 'export.log' for more information.<br><br>$ cat export.log<br>2007-06-01
|
||||
15:51:30,308 [main] INFO - find tables with
|
||||
net.sf.jailer.modelbuilder.JDBCMetaDataBasedModelElementFinder@16fe0f4<br>2007-06-01 15:51:32,115 [main] INFO - file 'datamodel/model-builder-table.csv' written<br>2007-06-01
|
||||
15:51:32,175 [main] INFO - find associations with
|
||||
net.sf.jailer.modelbuilder.JDBCMetaDataBasedModelElementFinder@16fe0f4<br>2007-06-01 15:51:32,298 [main] INFO - find associations with DEPARTMENT<br>2007-06-01 15:51:32,323 [main] INFO - find associations with SALARYGRADE<br>2007-06-01 15:51:32,328 [main] INFO - find associations with EMPLOYEE<br>2007-06-01 15:51:32,369 [main] INFO - file 'datamodel/model-builder-association.csv' written<br></span><span style="font-family: monospace;"><span style="color: rgb(51, 51, 255); font-style: italic;"></span></span></td></tr></tbody></table><br><br>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Jailer finds the following tables and associations: </td>
|
||||
<td style="vertical-align: top;"><small><a href="file:///C:/Users/ralf/workspace/jailer/doc/htdocs/JailerTutorial.html#footnote">2</a></small></td></tr></tbody></table><br>
|
||||
<table style="background-color: rgb(51, 102, 255); text-align: left;" border="0" cellpadding="2" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; height: 24px; background-color: rgb(202, 225, 235);"><big><span style="font-family: monospace;"><span style="font-weight: bold;">datamodel/model-builder-table.csv</span></span><span style="font-family: monospace;"></span></big><br></td></tr></tbody></table>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(202, 225, 235);" colspan="2"><span style="font-family: monospace;"># Name; upsert; primary key; ; author<br>DEPARTMENT; N; DEPTNO INTEGER; ;IBM DB2 JDBC Driver;<br>EMPLOYEE; N; EMPNO INTEGER; ;IBM DB2 JDBC Driver;<br>SALARYGRADE; N; GRADE INTEGER;LOSAL INTEGER;HISAL INTEGER; ;IBM DB2 JDBC Driver;<br></span><span style="font-family: monospace;"></span></td></tr></tbody></table><br>
|
||||
<table style="background-color: rgb(51, 102, 255); text-align: left;" border="0" cellpadding="2" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; height: 24px; background-color: rgb(202, 225, 235);"><big><span style="font-family: monospace;"><span style="font-weight: bold;">datamodel/model-builder-association.csv</span></span><span style="font-family: monospace;"></span></big><br></td></tr></tbody></table>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(202, 225, 235);" colspan="2"><span style="font-family: monospace;"># Table A; Table B; first-insert; cardinality (opt); join-condition; name (opt); author<br>DEPARTMENT; EMPLOYEE; A; 1:n; A.DEPTNO=B.DEPTNO; ; IBM DB2 JDBC Driver;<br>EMPLOYEE; EMPLOYEE; A; 1:n; A.EMPNO=B.BOSS; ; IBM DB2 JDBC Driver;<br></span></td></tr></tbody></table><br><br>Copy the definitions into the files <big><span style="font-family: monospace;">datamodel/table.csv</span></big> and <big><span style="font-family: monospace;">datamodel/association.csv</span>.</big><br>One association is still missing: depending on his salary an employee is classified into a salary grade. <br>Add this definition manually.<br><br>
|
||||
<table style="background-color: rgb(51, 102, 255); text-align: left;" border="0" cellpadding="2" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; height: 24px; background-color: rgb(202, 225, 235);"><big><span style="font-family: monospace;"><span style="font-weight: bold;">datamodel/association.csv</span></span><span style="font-family: monospace;"></span></big><br></td></tr></tbody></table>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(202, 225, 235);" colspan="2"><span style="font-family: monospace;"># Table A; Table B; first-insert; cardinality (opt); join-condition; name (opt); author<br>DEPARTMENT; EMPLOYEE; A; 1:n; A.DEPTNO=B.DEPTNO; ; IBM DB2 JDBC Driver;<br>EMPLOYEE; EMPLOYEE; A; 1:n; A.EMPNO=B.BOSS; ; IBM DB2 JDBC Driver;<br><span style="color: rgb(153, 0, 0);">EMPLOYEE; SALARYGRADE; ; n:1; A.SALARY BETWEEN B.LOSAL AND B.HISAL; ; Wisser</span><br></span></td></tr></tbody></table><br>Note that Jailer now knows more about the data model than the DBMS.<br><br>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<h3>Step 4. Examine the data model</h3></td>
|
||||
<td style="vertical-align: top;"><small><a href="file:///C:/Users/ralf/workspace/jailer/doc/htdocs/JailerTutorial.html#footnote">1</a></small></td></tr></tbody></table>Let's see what Jailer knows now about the model.<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh jailer.sh print-datamodel<br>DEPARTMENT (DEPTNO INTEGER NOT NULL)<br><br> has dependent:<br>
|
||||
EMPLOYEE
|
||||
1:n on A.DEPTNO=B.DEPTNO<br><br>EMPLOYEE (EMPNO INTEGER NOT NULL)<br><br> depends on:<br>
|
||||
DEPARTMENT
|
||||
n:1 on B.DEPTNO=A.DEPTNO<br>
|
||||
EMPLOYEE
|
||||
n:1 on B.EMPNO=A.BOSS<br><br> has dependent:<br>
|
||||
EMPLOYEE
|
||||
1:n on A.EMPNO=B.BOSS<br><br> is associated with:<br>
|
||||
SALARYGRADE
|
||||
n:1 on A.SALARY BETWEEN B.LOSAL AND B.HISAL<br><br>SALARYGRADE (GRADE INTEGER NOT NULL, LOSAL INTEGER NOT NULL, HISAL INTEGER NOT NULL)<br><br> is associated with:<br>
|
||||
EMPLOYEE
|
||||
1:n on B.SALARY BETWEEN A.LOSAL AND A.HISAL<br><br><br>tables in dependent-cycle: EMPLOYEE<br><br>excluding following tables from component-analysis: { }<br><br>1 components:<br> { DEPARTMENT, EMPLOYEE, SALARYGRADE }<br></span></td></tr></tbody></table><br>Note
|
||||
that each association is listed twice. While associations are
|
||||
undirected, restrictions on them are directed. We will see later for
|
||||
what restrictions are good for and how to define them.<br><br>
|
||||
<h3>Step 5. Prepare the DB for exports</h3>Jailer uses some tables for
|
||||
collecting entities inside the data base. The structure of these tables
|
||||
depends on the data-model, so we have to create the tables after
|
||||
building the data-model files. (You can easily re-create the tables
|
||||
after any model-changes)<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh jailer.sh create-ddl > <a href="file:///C:/Users/ralf/Documents/Open%20Jail.%20The%20Jailer%20Project%20Web%20Site/local/user/bin/jailer-ddl.sql.html"><img style="border: 0px solid ; width: 13px; height: 13px;" src="cli-tutorial-Dateien/arrow.gif" hspace="4">jailer-ddl.sql</a><br>$ db2 -tvf jailer-ddl.sql<br></span></td></tr></tbody></table>
|
||||
<h3><br>Step 6. Export evil Scott (unrestricted)</h3>Now export the employee named Scott. To do that we need an <span style="font-style: italic;">extraction-model</span>. Create a file named <big><span style="font-family: monospace;">extractionmodel/scott.csv</span></big>.<br><br>
|
||||
<table style="background-color: rgb(51, 102, 255); text-align: left;" border="0" cellpadding="2" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; height: 24px; background-color: rgb(202, 225, 235);"><big><span style="font-family: monospace;"><span style="font-weight: bold;">extractionmodel/scott.csv</span></span><span style="font-family: monospace;"></span></big><br></td></tr></tbody></table>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(202, 225, 235);" colspan="2"><span style="font-family: monospace;"># the employee named 'SCOTT' and all associated entities<br><br>#
|
||||
subject;
|
||||
condition;
|
||||
limit; restrictions<br>EMPLOYEE;
|
||||
NAME='SCOTT';
|
||||
;<br></span></td></tr></tbody></table><br><br>This extraction model
|
||||
describes a set of entities containing (the) employee(s) named 'SCOTT',
|
||||
entities associated with these employees, entities associated with
|
||||
these entities and so forth.<br><br>Export this set:<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$
|
||||
sh jailer.sh export -e scott.sql extractionmodel/scott.csv
|
||||
com.ibm.db2.jcc.DB2Driver jdbc:db2://localhost:50001/wisser scott tiger<br>Jailer 0.9.5<br><br>exporting 'extractionmodel/scott.csv' to 'scott.sql'<br>See 'export.log' for more information.<br>writing file 'scott.sql'...<br>file 'scott.sql' written.<br><br>$ cat export.log<br>2007-06-04 13:27:25,123 [main] INFO - exporting EMPLOYEE Where NAME='SCOTT'<br>...<br>2007-06-04
|
||||
13:27:25,249 [main] INFO - export
|
||||
statistic:
|
||||
22<br>2007-06-04 13:27:25,299 [main] INFO -
|
||||
DEPARTMENT
|
||||
3<br>2007-06-04 13:27:25,299 [main] INFO -
|
||||
EMPLOYEE
|
||||
14<br>2007-06-04 13:27:25,299 [main] INFO -
|
||||
SALARYGRADE
|
||||
5<br>...<br></span></td></tr></tbody></table><br><br>A file <a href="file:///C:/Users/ralf/Documents/Open%20Jail.%20The%20Jailer%20Project%20Web%20Site/local/user/bin/scott.sql.html"><img style="border: 0px solid ; width: 13px; height: 13px;" src="cli-tutorial-Dateien/arrow.gif" hspace="4"><big><span style="font-family: monospace;">scott.sql</span></big></a> is created containing <big><span style="font-family: monospace;">Insert</span></big>-statements for Scott, for his evil boss, for the president and for scott's department and salary-grade.<br><br>But why are there also statements for all other employees? (Bad luck for innocent James!)<br><br>Let Jailer explain why:<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh jailer.sh export -e scott.sql <span style="color: rgb(204, 0, 0);">-explain </span>extractionmodel/scott.csv com.ibm.db2.jcc.DB2Driver jdbc:db2://localhost:50001/wisser scott tiger > /dev/null<br>$ cat explain.log<br>EMPLOYEE(7788) --3--> SALARYGRADE(4, 2001, 3000) --6--> EMPLOYEE(7698) --1--> DEPARTMENT(30).<br>EMPLOYEE(7788) --3--> SALARYGRADE(4, 2001, 3000) --6--> EMPLOYEE(7698) --2--> EMPLOYEE(7521).<br>EMPLOYEE(7788)
|
||||
--3--> SALARYGRADE(4, 2001, 3000) --6--> EMPLOYEE(7698) --2-->
|
||||
EMPLOYEE(7844) --3--> SALARYGRADE(3, 1401, 2000).<br>EMPLOYEE(7788) --4--> EMPLOYEE(7566) --4--> EMPLOYEE(7839) --1--> DEPARTMENT(10).<br>EMPLOYEE(7788) --4--> EMPLOYEE(7566) --4--> EMPLOYEE(7839) --3--> SALARYGRADE(5, 3001, 9999).<br>EMPLOYEE(7788) --1--> DEPARTMENT(20) --5--> EMPLOYEE(7369).<br>EMPLOYEE(7788) --3--> SALARYGRADE(4, 2001, 3000) --6--> EMPLOYEE(7698) --2--> EMPLOYEE(7654).<br><span style="color: rgb(204, 0, 0);">EMPLOYEE(7788) --2--> EMPLOYEE(7876) --3--> SALARYGRADE(1, 700, 1200) --6--> EMPLOYEE(7900).</span><br style="color: rgb(204, 0, 0);">EMPLOYEE(7788)
|
||||
--3--> SALARYGRADE(4, 2001, 3000) --6--> EMPLOYEE(7782) --2-->
|
||||
EMPLOYEE(7934) --3--> SALARYGRADE(2, 1201, 1400).<br>EMPLOYEE(7788) --3--> SALARYGRADE(4, 2001, 3000) --6--> EMPLOYEE(7698) --2--> EMPLOYEE(7499).<br>EMPLOYEE(7788) --1--> DEPARTMENT(20) --5--> EMPLOYEE(7902).<br><br>#
|
||||
1
|
||||
EMPLOYEE
|
||||
->
|
||||
DEPARTMENT
|
||||
n:1 on B.DEPTNO=A.DEPTNO<br># 2
|
||||
EMPLOYEE
|
||||
->
|
||||
EMPLOYEE(SUBORDINATES)
|
||||
1:n on A.EMPNO=B.BOSS<br># 3
|
||||
EMPLOYEE
|
||||
->
|
||||
SALARYGRADE
|
||||
n:1 on A.SALARY BETWEEN B.LOSAL AND B.HISAL<br># 4
|
||||
EMPLOYEE
|
||||
-> EMPLOYEE(inverse-SUBORDINATES) n:1 on B.EMPNO=A.BOSS<br>#
|
||||
5
|
||||
DEPARTMENT
|
||||
->
|
||||
EMPLOYEE
|
||||
1:n on A.DEPTNO=B.DEPTNO<br># 6
|
||||
SALARYGRADE
|
||||
->
|
||||
EMPLOYEE
|
||||
1:n on B.SALARY BETWEEN A.LOSAL AND A.HISAL<br></span></td></tr></tbody></table><br>Adams is Scotts subordinate and James and Adams are both classified in the same salary-grade.<br><br>
|
||||
<h3>Step 7. Export evil Scott (restricted)</h3>If we export an employee
|
||||
we must export his boss and department too! Otherwise the set of
|
||||
exported entities would not be consistent (due to the foreign key
|
||||
constraints). No constraint prevents us from excluding the salary-grade
|
||||
from export, but we should'nt do that becauses the resulting set would
|
||||
also be inconsistent.<br><br>To exclude subordinates, 'same
|
||||
department'-members and 'same salary-grade'-employees, we must restrict
|
||||
some associations. To do so, define a <span style="font-style: italic;">restriction-model:</span><br><br>
|
||||
<table style="background-color: rgb(51, 102, 255); text-align: left;" border="0" cellpadding="2" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; height: 24px; background-color: rgb(202, 225, 235);"><big><span style="font-family: monospace;"><span style="font-weight: bold;">restrictionmodel/no-subordinates.csv</span></span><span style="font-family: monospace;"></span></big><br></td></tr></tbody></table>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(202, 225, 235);" colspan="2"><span style="font-family: monospace;"># from A (or association name); to B; restriction-condition<br>SUBORDINATE;
|
||||
|
||||
; ignore<br>DEPARTMENT;
|
||||
EMPLOYEE; ignore<br>SALARYGRADE;
|
||||
EMPLOYEE; ignore<br></span></td></tr></tbody></table><br><br>The <span style="font-style: italic;">restriction-condition</span> is an extension of the associations join-condition (expressed in SQL-syntax) for one direction of an association. <br>"ignore" stands for an unsatisfiable condition.<br><br>Note
|
||||
that the association between DEPARTMENT and EMPLOYEE is restricted in
|
||||
that direction by designating the source and destination table. It's
|
||||
obviously not possible to restrict reflexive associations the same way,
|
||||
so we have to give the <span style="font-style: italic;">'subordinate of</span>'-association a name.<br><br>
|
||||
<table style="background-color: rgb(51, 102, 255); text-align: left;" border="0" cellpadding="2" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; height: 24px; background-color: rgb(202, 225, 235);"><big><span style="font-family: monospace;"><span style="font-weight: bold;">datamodel/association.csv</span></span><span style="font-family: monospace;"></span></big><br></td></tr></tbody></table>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(202, 225, 235);" colspan="2"><span style="font-family: monospace;"># Table A; Table B; first-insert; cardinality (opt); join-condition; name (opt); author<br>DEPARTMENT; EMPLOYEE; A; 1:n; A.DEPTNO=B.DEPTNO; ; IBM DB2 JDBC Driver;<br>EMPLOYEE; EMPLOYEE; A; 1:n; A.EMPNO=B.BOSS; </span><span style="color: rgb(255, 0, 0); font-family: monospace;">SUBORDINATE</span><span style="font-family: monospace;">; IBM DB2 JDBC Driver;<br><span style="color: rgb(0, 0, 0);">EMPLOYEE; SALARYGRADE; ; n:1; A.SALARY BETWEEN B.LOSAL AND B.HISAL; ; Wisser</span><br></span></td></tr></tbody></table><br><br>You can examine the restrictions the same way you examined the data model:<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh jailer.sh print-datamodel <span style="color: rgb(204, 0, 0);">restrictionmodel/no-subordinates.csv</span><br>restricted by: [restrictionmodel/no-subordinates.csv]<br>DEPARTMENT (DEPTNO INTEGER NOT NULL)<br><br> ignored:<br>
|
||||
EMPLOYEE
|
||||
1:n on A.DEPTNO=B.DEPTNO<br><br>EMPLOYEE (EMPNO INTEGER NOT NULL)<br><br> depends on:<br>
|
||||
DEPARTMENT
|
||||
n:1 on B.DEPTNO=A.DEPTNO<br> EMPLOYEE(inverse-SUBORDINATE) n:1 on B.EMPNO=A.BOSS<br><br> is associated with:<br>
|
||||
SALARYGRADE
|
||||
n:1 on A.SALARY BETWEEN B.LOSAL AND B.HISAL<br><br> <span style="color: rgb(255, 0, 0);">ignored:</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);"> EMPLOYEE(SUBORDINATE) 1:n on A.EMPNO=B.BOSS</span><br><br>SALARYGRADE (GRADE INTEGER NOT NULL, LOSAL INTEGER NOT NULL, HISAL INTEGER NOT NULL)<br><br> ignored:<br>
|
||||
EMPLOYEE
|
||||
1:n on B.SALARY BETWEEN A.LOSAL AND A.HISAL<br><br><br>tables in dependent-cycle: EMPLOYEE<br><br>excluding following tables from component-analysis: { DEPARTMENT, SALARYGRADE }<br><br>1 components: <br> { EMPLOYEE }<br></span></td></tr></tbody></table><br><br>A restriction-model is part of the extraction-model. Create a new extraction-model:<br><br>
|
||||
<table style="background-color: rgb(51, 102, 255); text-align: left;" border="0" cellpadding="2" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; height: 24px; background-color: rgb(202, 225, 235);"><big><span style="font-family: monospace;"><span style="font-weight: bold;">extractionmodel/scott-without-subordinates.csv</span></span><span style="font-family: monospace;"></span></big><br></td></tr></tbody></table>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(202, 225, 235);" colspan="2"><span style="font-family: monospace;"># the employee named 'SCOTT' and all associated entities<br><br>#
|
||||
subject;
|
||||
condition;
|
||||
limit; restrictions<br>EMPLOYEE;
|
||||
NAME='SCOTT';
|
||||
; </span><span style="color: rgb(255, 0, 0); font-family: monospace;">no-subordinates.csv</span></td></tr></tbody></table><br><br>and look what Jailer extracts now:<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh jailer.sh export -e scott.sql <span style="color: rgb(204, 0, 0);">extractionmodel/scott-without-subordinates.csv</span> com.ibm.db2.jcc.DB2Driver jdbc:db2://localhost:50001/wisser xbcsetup 1234 > /dev/null<br>$ cat scott.sql<br></span><span style="font-family: monospace;">-- generated by Jailer at Mon Jun 04 15:08:15 CEST 2007 from wisser@u19<br>--<br>-- extraction model: EMPLOYEE where NAME='SCOTT' (extractionmodel/scott-without-subordinates.csv)<br>-- database URL: jdbc:db2://localhost:50001/wisser<br>-- database user: scott<br>-- exported entities: 7<br>--
|
||||
DEPARTMENT
|
||||
2<br>--
|
||||
EMPLOYEE
|
||||
3<br>--
|
||||
SALARYGRADE
|
||||
2<br><br><br><br>Insert into SALARYGRADE(GRADE, LOSAL, HISAL) <br> values (4, 2001, 3000), <br> (5, 3001, 9999);<br>Insert into DEPARTMENT(DEPTNO, NAME, LOCATION) <br> values (20, 'RESEARCH', 'DALLAS'), <br> (10, 'ACCOUNTING', 'NEW YORK');<br>Insert into EMPLOYEE(EMPNO, NAME, JOB, BOSS, HIREDATE, SALARY, COMM, DEPTNO) <br> values (7839, 'KING', 'PRESIDENT', null, '1981-11-17', 5000.00, null, 10);<br>Insert into EMPLOYEE(EMPNO, NAME, JOB, BOSS, HIREDATE, SALARY, COMM, DEPTNO) <br> values (7566, 'JONES', 'MANAGER', 7839, '1981-04-02', 2975.00, null, 20);<br>Insert into EMPLOYEE(EMPNO, NAME, JOB, BOSS, HIREDATE, SALARY, COMM, DEPTNO) <br> values (7788, 'SCOTT', 'ANALYST', 7566, '1982-12-09', 3000.00, null, 20);<br></span></td></tr></tbody></table><br>Freedom for the innocent!<br><br>
|
||||
<h3>Step 8. Delete Scott (unsuccessful)</h3>It is also possible to create DML-scripts for deletion of exported entities:<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh jailer.sh export -e scott.sql <span style="color: rgb(204, 0, 0);">-d delete-scott.sql</span>
|
||||
extractionmodel/scott-without-subordinates.csv
|
||||
com.ibm.db2.jcc.DB2Driver jdbc:db2://localhost:50001/wisser scott tiger
|
||||
> /dev/null<br>$ cat delete-scott.sql<br>-- generated by Jailer at Tue Jun 05 10:20:40 CEST 2007 from wisser@u19<br>--<br>-- extraction model: EMPLOYEE where NAME='SCOTT' (extractionmodel/scott-without-subordinates.csv)<br>-- database URL: jdbc:db2://localhost:50001/wisser<br>-- database user: scott<br>-- exported entities: 7<br>--
|
||||
DEPARTMENT
|
||||
2<br>--
|
||||
EMPLOYEE
|
||||
3<br>--
|
||||
SALARYGRADE
|
||||
2<br>--<br>-- Tabu-tables: { }<br>--<br>-- entities to delete: 0<br><br></span><span style="font-family: monospace;"></span></td></tr></tbody></table><br>Jailer
|
||||
has exported 7 entities but didn't delete anything! That's because
|
||||
deleting Scott but not Scotts subordinate (who is not in the set
|
||||
defined by the extraction-model!) would violate the integrity of the
|
||||
data base.<br><br>
|
||||
<h3>Step 9. Delete Scott</h3>
|
||||
<p>In order to delete Scott, me must delete his subordinate too. To do so, relax the restriction on the <span style="font-style: italic;">SUBORDINATE</span>-association:</p>
|
||||
<table style="background-color: rgb(51, 102, 255); text-align: left;" border="0" cellpadding="2" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; height: 24px; background-color: rgb(202, 225, 235);"><big><span style="font-family: monospace;"><span style="font-weight: bold;">restrictionmodel/no-subordinates.csv</span></span><span style="font-family: monospace;"></span></big><br></td></tr></tbody></table>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(202, 225, 235);" colspan="2"><span style="font-family: monospace;"># from A (or association name); to B; restriction-condition<br>SUBORDINATE;
|
||||
|
||||
; <span style="color: rgb(204, 0, 0);">A.NAME='SCOTT'</span><br>DEPARTMENT;
|
||||
EMPLOYEE; ignore<br>SALARYGRADE;
|
||||
EMPLOYEE; ignore<br></span></td></tr></tbody></table><br>and repeat the exportation:<br><br>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh jailer.sh export -e <a href="file:///C:/Users/ralf/Documents/Open%20Jail.%20The%20Jailer%20Project%20Web%20Site/local/user/bin/scott.sql.2.html"><img style="border: 0px solid ; width: 13px; height: 13px;" src="cli-tutorial-Dateien/arrow.gif" hspace="4">scott.sql</a>
|
||||
<span style="color: rgb(0, 0, 0);">-d delete-scott.sql</span>
|
||||
extractionmodel/scott-without-subordinates.csv
|
||||
com.ibm.db2.jcc.DB2Driver jdbc:db2://localhost:50001/wisser scott tiger
|
||||
> /dev/null<br>$ cat delete-scott.sql<br>-- generated by Jailer at Tue Jun 05 10:50:03 CEST 2007 from wisser@u19<br>--<br>-- extraction model: EMPLOYEE where NAME='SCOTT' (extractionmodel/scott-without-subordinates.csv)<br>-- database URL: jdbc:db2://localhost:50001/wisser<br>-- database user: scott<br>-- exported entities: 9<br>--
|
||||
DEPARTMENT
|
||||
2<br>--
|
||||
EMPLOYEE
|
||||
4<br>--
|
||||
SALARYGRADE
|
||||
3<br>--<br>-- Tabu-tables: { }<br>--<br>-- entities to delete: 2<br>--
|
||||
EMPLOYEE
|
||||
2 (-2)<br><br><br><br>Delete from EMPLOYEE Where EMPNO in (7876);<br>Delete from EMPLOYEE Where EMPNO in (7788);<br></span></td></tr></tbody></table><br>The file <big><span style="font-family: monospace;">delete-scott.sql</span></big> contains <big><span style="font-family: monospace;">Delete</span></big>-statements for Scott and Adams.<br>Note that <big><span style="font-family: monospace;">scott.sql</span></big> now contains <big><span style="font-family: monospace;">Insert</span></big>-statements for Adams and his salary-grade too.<br><br></td></tr></tbody></table><br>
|
||||
<hr style="width: 100%; height: 1px;">
|
||||
<a name="footnote"></a>1) Since 0.9.3 it is also possible to render the data model as HTML. Click<a href="file:///C:/Users/ralf/Documents/Open%20Jail.%20The%20Jailer%20Project%20Web%20Site/local/user/bin/index.html"><img style="border: 0px solid ; width: 13px; height: 13px;" src="cli-tutorial-Dateien/arrow.gif" hspace="4">here</a> to see how the tutorial's model would look like in HTML.<br>2) Since 2.0 all associations in <big><span style="font-family: monospace;"><font size="4">datamodel/model-builder-association.csv </font></span></big>have names.<big><span style="font-family: monospace;"></span></big><br></td></tr></tbody></table></div>
|
||||
<p> </p></td></tr>
|
||||
<tr>
|
||||
<td height="12" valign="top" width="14%"></td>
|
||||
<td></td></tr></tbody></table></div></body></html>
|
||||
|
Before Width: | Height: | Size: 263 KiB After Width: | Height: | Size: 142 KiB |
@@ -1,216 +1,198 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><title>Jailer - Data Browsing</title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="description" content="Data Export Tool">
|
||||
<link rel="shortcut icon" href="favicon.ico">
|
||||
<meta name="keywords" content="data export referential integrity java jdbc dbms">
|
||||
<link rel="stylesheet" type="text/css" href="exporting-data-Dateien/styles.css"></head>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Jailer - Data Browsing</title>
|
||||
<meta content="text/html; charset=us-ascii" http-equiv="Content-Type" />
|
||||
<meta content="Data Export Tool" name="description" />
|
||||
<link href="favicon.ico" rel="shortcut icon" />
|
||||
<meta content="data export referential integrity java jdbc dbms" name="keywords" />
|
||||
<link href="exporting-data-Dateien/styles.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body left-margin="0" top-margin="0">
|
||||
<div align="left">
|
||||
<table style="text-align: left; position: absolute; left: 0pt; top: 0pt;" border="0" cellpadding="0" cellspacing="0" height="407" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2" class="bannerbackground" height="33" width="100%">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><img src="exporting-data-Dateien/logo.png" hspace="10"></td>
|
||||
<td class="slogan" width="100%">Database Subsetting Tool</td>
|
||||
<td style="text-align: right; width: 100%;">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="http://sourceforge.net/projects/jailer/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=197260&type=1" alt="SourceForge.net Logo" style="border: 0px solid ;"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="http://www.java.net"><img src="javanet_button_90.gif" alt="java.net Member Button: 90px wide" border="0" height="25" width="90"></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="nav1background" height="33" width="100%"> <b><font color="#ffffff"><a href="home.htm" target="_self" class="tlink">Home</a> <a href="quicktour.htm" target="_self" class="tlink">Quick
|
||||
Tour</a> <a href="exporting-data.htm" target="_self" class="tlink">Tutorial</a>
|
||||
<a href="data-browsing.html" target="_self" class="tlinkA">Data Browser</a>
|
||||
<a href="faq.html" target="_self" class="tlink">FAQ</a> <a href="api.html" target="_self" class="tlink">API</a>
|
||||
<a href="design.htm" target="_self" class="tlink">Documentation</a>
|
||||
<a href="http://sourceforge.net/forum/?group_id=197260" target="_self" class="tlink">Forum</a>
|
||||
<a href="http://sourceforge.net/project/showfiles.php?group_id=197260" target="_self" class="tlink">Download</a>
|
||||
</font></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="spacer" width="100%">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="lmenucontainer" height="100%" valign="top" width="14%">
|
||||
<div align="center">
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="100%"><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
<ul>
|
||||
<li><a href="data-browsing.html" target="_self" class="llinkA">Data Browser</a></li>
|
||||
</ul>
|
||||
<table border="0" cellpadding="5" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="content2background">
|
||||
<img style="width: 160px; height: 1px;" alt="" src="architecture-Dateien/vgradp.gif"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
</td>
|
||||
<td class="contentbackground" height="418" valign="top" width="86%">
|
||||
<div align="right">
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="542" width="98%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="contentbackground" height="21" width="100%"> <br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="content" height="520" valign="top" width="100%"> <small><small> </small></small><br>
|
||||
<span style="font-weight: bold;">Relational
|
||||
Data Browsing</span><br>
|
||||
<br>Navigate bidirectionally through the database by following
|
||||
foreign-key-based or user-defined relationships<br><br>
|
||||
<img src="data-browser.gif"/>
|
||||
<br><br><br>
|
||||
<h4>1. Connect with the Database</h4>
|
||||
Start the Data Browser (<span style="font-family: monospace;">JailerDataBrowser.exe
|
||||
</span>or <span style="font-family: monospace;">jailerDataBrowser.bat</span>
|
||||
on windows platform)<br>
|
||||
<p>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh jailerDataBrowser.sh</span><span style="font-family: monospace;"></span><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br>and create a new data model. Press <span style="font-style: italic;">New</span> and enter "Tutorial" as the name for the new model.</p><p>
|
||||
<img style="width: 697px; height: 280px;" alt="" src="screenshot4.1.gif"><br>
|
||||
</p>
|
||||
<p><br>A data model holds information about the tables in the database and all
|
||||
associations between them.<br>
|
||||
Most of the information can be retrieved automatically by analyzing
|
||||
the database schema.<br>
|
||||
<br>
|
||||
Click on<span style="font-style: italic;"> Analyze Database</span>.<br>
|
||||
You will be asked for the
|
||||
database connection information.<br></p><p><img style="width: 655px; height: 328px;" alt="" src="screenshot4.2.gif"></p><p>Create a new connection.<br>
|
||||
</p>
|
||||
<p><img style="width: 409px; height: 316px;" alt="" src="dbs1.gif"><br>
|
||||
<br>
|
||||
</p>
|
||||
<p>Select the DBMS you are using from the displayed
|
||||
list, and fill out the following form:<br>
|
||||
</p>
|
||||
<img style="width: 570px; height: 369px;" alt="" src="screenshot4.3.gif"><br>
|
||||
<p><br>
|
||||
Finally click on<span style="font-style: italic;"> Connect</span><big style="font-style: italic;"><span style="font-family: monospace;"></span></big><span style="font-style: italic;">.</span>
|
||||
Jailer finds seven tables and five associations:<br>
|
||||
<br>
|
||||
<img src="exporting-data-Dateien/screen3.png"><br>
|
||||
<br>
|
||||
<br>
|
||||
Two associations are still missing: <br>
|
||||
</p>
|
||||
<ul><li>an employee is classified into a
|
||||
salary grade depending on his salary</li><li>employees may receive bonuses</li></ul>
|
||||
<br>
|
||||
Add the definitions manually (<big><span style="font-family: monospace;"><span style="font-family: mon;"><span style="font-style: italic;">Add</span>-</span></span></big>Button
|
||||
under <big><span style="font-family: monospace;"><font size="4">Associations</font></span></big>):<br>
|
||||
<br>
|
||||
<img src="exporting-data-Dateien/screen4.png"><br>
|
||||
<br>
|
||||
<img src="exporting-data-Dateien/screen42.png"><br>
|
||||
<br>The data model is now complete.<p><br>
|
||||
</p>
|
||||
<h4>3. Browse a Table<br>
|
||||
</h4>
|
||||
Select the menu item "New Table Browser" from "File" and choose
|
||||
"EMPLOYEE" as the table you want to browse:
|
||||
<p><img style="width: 317px; height: 214px;" alt="" src="dbs5.gif"><br>
|
||||
<br>
|
||||
</p>
|
||||
<p>A Table Browser appears showing the rows
|
||||
of table EMPLOYEE.</p>
|
||||
<p><img style="width: 820px; height: 512px;" alt="" src="dbs6.gif"><br>
|
||||
</p>
|
||||
<h4><br>
|
||||
</h4>
|
||||
<h4><br><br>
|
||||
3. Browse related Rows</h4>
|
||||
Select the "Children" item from the "Related Rows" drop-down menu and
|
||||
choose "EMPLOYEE on inverse-BOSS".<br>
|
||||
<br>
|
||||
<img style="width: 946px; height: 522px;" alt="" src="dbs8.gif"><br>
|
||||
<br>
|
||||
<br>
|
||||
Another Table Browser appears showing the subordinates of each Employee
|
||||
(the inverse of the "BOSS" relationship)<br>
|
||||
<br>
|
||||
<img style="width: 946px; height: 522px;" alt="" src="dbs7.gif"><br>
|
||||
<br>
|
||||
<br>
|
||||
<br><br>
|
||||
<h4>3. Generate SQL-Query</h4>
|
||||
Within each table browser, a SQL-Query can be generated which selects
|
||||
exactly the browser's content.<br>
|
||||
Essentially it's a join of all the tables in the navigation
|
||||
chain.
|
||||
<p>Close the second "EMPLOYEE" browser, navigate from
|
||||
EMPLOYEE to PROJECT_PARTICIPATION, and from there to PROJECT.</p>
|
||||
<p>Choose "<span style="font-style: italic;">Query
|
||||
Builder</span>" item from the "<span style="font-style: italic;">SQL/Query</span>" menu in
|
||||
the "PROJECT" browser:</p>
|
||||
<p><img style="width: 601px; height: 370px;" alt="" src="dbs9.gif"></p>
|
||||
<p><br>The Query Builder form lets you save the query
|
||||
into a file, copy it to the clipboard or even execute it.<br>
|
||||
Choose "Execute" to get a query-result browser:</p>
|
||||
<img style="width: 990px; height: 667px;" alt="" src="dbs10.gif"><br>
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="407" style="left: 0pt; top: 0pt; text-align: left; position: absolute;" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="bannerbackground" colspan="2" height="33" width="100%">
|
||||
<table border="0" cellpadding="4" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><img hspace="10" src="exporting-data-Dateien/logo.png" /></td>
|
||||
<td class="slogan" width="100%">Database Subsetting Tool</td>
|
||||
<td style="width: 100%; text-align: right;">
|
||||
<table border="0" cellpadding="4" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="http://sourceforge.net/projects/jailer/"><img alt="SourceForge.net Logo" src="http://sflogo.sourceforge.net/sflogo.php?group_id=197260&type=1" style="border: 0px solid currentColor; border-image: none;" /></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="nav1background" colspan="2" height="33" width="100%"> <b><font color="#ffffff"><a class="tlink" href="home.htm" target="_self">Home</a> <a class="tlink" href="quicktour.htm" target="_self">Quick Tour</a> <a class="tlink" href="exporting-data.htm" target="_self">Tutorial</a> <a class="tlinkA" href="data-browsing.html" target="_self">Data Browser</a> <a class="tlink" href="faq.html" target="_self">FAQ</a> <a class="tlink" href="api.html" target="_self">API</a> <a class="tlink" href="design.htm" target="_self">Documentation</a> <a class="tlink" href="http://sourceforge.net/forum/?group_id=197260" target="_self">Forum</a> <a class="tlink" href="http://sourceforge.net/project/showfiles.php?group_id=197260" target="_self">Download</a> </font></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer" colspan="2" width="100%"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="lmenucontainer" height="100%" valign="top" width="14%">
|
||||
<div align="center">
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="100%"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
<p><br>Within this query-result browser, you can edit the
|
||||
query anyway you want.<br>
|
||||
</p>
|
||||
<p><img style="width: 810px; height: 519px;" alt="" src="dbs11.gif"></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p><br>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<ul>
|
||||
<li><a class="llinkA" href="data-browsing.html" target="_self">Data Browser</a></li>
|
||||
</ul>
|
||||
|
||||
<table border="0" cellpadding="5" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="content2background"><img alt="" src="architecture-Dateien/vgradp.gif" style="width: 160px; height: 1px;" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p> </p>
|
||||
</td>
|
||||
<td class="contentbackground" height="418" valign="top" width="86%">
|
||||
<div align="right">
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="542" width="98%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="contentbackground" height="21" width="100%"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="content" height="520" valign="top" width="100%"><small><small> </small></small><br />
|
||||
<span style="font-weight: bold;">Relational Data Browsing</span><br />
|
||||
<br />
|
||||
Navigate bidirectionally through the database by following foreign-key-based or user-defined relationships<br />
|
||||
<br />
|
||||
<img src="data-browser.gif" /><br />
|
||||
<br />
|
||||
|
||||
<h4>1. Connect with the Database</h4>
|
||||
Start the Data Browser (<span style="font-family: monospace;">JailerDataBrowser.exe</span> or <span style="font-family: monospace;">jailerDataBrowser.bat</span> on windows platform)
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%; text-align: left;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh jailerDataBrowser.sh</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
and create a new data model. Press <span style="font-style: italic;">New</span> and enter "Tutorial" as the name for the new model.
|
||||
|
||||
<p><img alt="" src="screenshot4.1.gif" style="width: 697px; height: 280px;" /></p>
|
||||
|
||||
<p><br />
|
||||
A data model holds information about the tables in the database and all associations between them.<br />
|
||||
Most of the information can be retrieved automatically by analyzing the database schema.<br />
|
||||
<br />
|
||||
Click on <span style="font-style: italic;">Analyze Database</span>.<br />
|
||||
You will be asked for the database connection information.</p>
|
||||
|
||||
<p><img alt="" src="screenshot4.2.gif" style="width: 655px; height: 328px;" /></p>
|
||||
|
||||
<p>Create a new connection.</p>
|
||||
|
||||
<p><img alt="" src="dbs1.gif" style="width: 409px; height: 316px;" /><br />
|
||||
</p>
|
||||
|
||||
<p>Select the DBMS you are using from the displayed list, and fill out the following form:</p>
|
||||
<img alt="" src="screenshot4.3.gif" style="width: 570px; height: 369px;" />
|
||||
<p><br />
|
||||
Finally click on <span style="font-style: italic;">Connect</span><span style="font-style: italic;">.</span> Jailer finds seven tables and five associations:<br />
|
||||
<br />
|
||||
<img src="exporting-data-Dateien/screen3.png" /><br />
|
||||
<br />
|
||||
<br />
|
||||
Two associations are still missing:</p>
|
||||
|
||||
<ul>
|
||||
<li>an employee is classified into a salary grade depending on his salary</li>
|
||||
<li>employees may receive bonuses</li>
|
||||
</ul>
|
||||
<br />
|
||||
Add the definitions manually (<big><span style="font-family: monospace;"><span style="font-family: mon;"><span style="font-style: italic;">Add</span>-</span></span></big>Button under <big><span style="font-family: monospace;"><font size="4">Associations</font></span></big>):<br />
|
||||
<br />
|
||||
<img src="exporting-data-Dateien/screen4.png" /><br />
|
||||
<br />
|
||||
<img src="exporting-data-Dateien/screen42.png" /><br />
|
||||
<br />
|
||||
The data model is now complete.
|
||||
<p> </p>
|
||||
|
||||
<h4>3. Browse a Table</h4>
|
||||
Select the menu item "Open Table" from "File" and choose "EMPLOYEE" as the table you want to browse:
|
||||
|
||||
<p>A Table Browser appears showing the rows of table EMPLOYEE.</p>
|
||||
|
||||
<p><img alt="" src="dbs6.gif" /></p>
|
||||
|
||||
<h4> </h4>
|
||||
|
||||
<h4><br />
|
||||
<br />
|
||||
3. Browse related Rows</h4>
|
||||
Select the "Children" item from the "Related Rows" drop-down menu and choose "EMPLOYEE on inverse-BOSS".<br />
|
||||
<br />
|
||||
<img alt="" src="dbs8.gif" /><br />
|
||||
<br />
|
||||
<br />
|
||||
Another Table Browser appears showing the subordinates of each Employee (the inverse of the "BOSS" relationship)<br />
|
||||
<br />
|
||||
<img alt="" src="dbs7.gif" /><br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<h4>3. Generate SQL-Query</h4>
|
||||
Within each table browser, a SQL-Query can be generated which selects exactly the browser's content.<br />
|
||||
Essentially it's a join of all the tables in the navigation chain.
|
||||
<p>Close the second "EMPLOYEE" browser, navigate from EMPLOYEE to PROJECT_PARTICIPATION, and from there to PROJECT.</p>
|
||||
|
||||
<p>Choose "<span style="font-style: italic;">Query Builder</span>" item from the "<span style="font-style: italic;">SQL/Query</span>" menu in the "PROJECT" browser:</p>
|
||||
|
||||
<p><img alt="" src="dbs9.gif" /></p>
|
||||
|
||||
<p><br />
|
||||
The Query Builder form lets you save the query into a file, copy it to the clipboard or even execute it.<br />
|
||||
Choose "Execute" to get a query-result browser:</p>
|
||||
<img alt="" src="dbs10.gif" style="width: 990px; height: 667px;" />
|
||||
<p><br />
|
||||
Within this query-result browser, you can edit the query anyway you want.</p>
|
||||
|
||||
<p><img alt="" src="dbs11.gif" style="width: 810px; height: 519px;" /></p>
|
||||
|
||||
<p> </p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p> </p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="12" valign="top" width="14%"> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p> </p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="12" valign="top" width="14%"><br>
|
||||
</td>
|
||||
<td><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body></html>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 6.2 KiB |
@@ -1,106 +0,0 @@
|
||||
.spacer
|
||||
{
|
||||
HEIGHT:2px;
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
.lmenu
|
||||
{
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
BODY
|
||||
{
|
||||
FONT-SIZE:13px;
|
||||
COLOR:#000022;
|
||||
FONT-FAMILY:Tahoma;
|
||||
}
|
||||
A.tlink:link
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:visited
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
A.llink:link
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:visited
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
.llinkA
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
.tlinkA
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:15px;
|
||||
}
|
||||
.content
|
||||
{
|
||||
padding-top:3px;
|
||||
padding-left:10px;
|
||||
margin-left:10px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.footer
|
||||
{
|
||||
padding-top:3px;
|
||||
font-size:8px;
|
||||
padding-left:20px;
|
||||
margin-left:10px;
|
||||
text-align:center;
|
||||
border-top:1px solid #003399;
|
||||
}
|
||||
.bannerbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contentbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.lmenucontainer
|
||||
{
|
||||
background-image:url(./vgradp.gif);
|
||||
}
|
||||
.nav1background
|
||||
{
|
||||
background-image:url(./bg1.JPG);
|
||||
}
|
||||
.slogan
|
||||
{
|
||||
color:#000055;
|
||||
}
|
||||
.content2background
|
||||
{
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 579 B |
|
Before Width: | Height: | Size: 651 B |
|
Before Width: | Height: | Size: 988 B |
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 6.2 KiB |
@@ -1,106 +0,0 @@
|
||||
.spacer
|
||||
{
|
||||
HEIGHT:2px;
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
.lmenu
|
||||
{
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
BODY
|
||||
{
|
||||
FONT-SIZE:13px;
|
||||
COLOR:#000022;
|
||||
FONT-FAMILY:Tahoma;
|
||||
}
|
||||
A.tlink:link
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:visited
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
A.llink:link
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:visited
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
.llinkA
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
.tlinkA
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:15px;
|
||||
}
|
||||
.content
|
||||
{
|
||||
padding-top:3px;
|
||||
padding-left:10px;
|
||||
margin-left:10px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.footer
|
||||
{
|
||||
padding-top:3px;
|
||||
font-size:8px;
|
||||
padding-left:20px;
|
||||
margin-left:10px;
|
||||
text-align:center;
|
||||
border-top:1px solid #003399;
|
||||
}
|
||||
.bannerbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contentbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.lmenucontainer
|
||||
{
|
||||
background-image:url(./vgradp.gif);
|
||||
}
|
||||
.nav1background
|
||||
{
|
||||
background-image:url(./bg1.JPG);
|
||||
}
|
||||
.slogan
|
||||
{
|
||||
color:#000055;
|
||||
}
|
||||
.content2background
|
||||
{
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 579 B |
@@ -1,216 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><title>DBeauty - Quick Tour</title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="description" content="Data Export Tool">
|
||||
<link rel="shortcut icon" href="favicon.ico">
|
||||
<meta name="keywords" content="data export referential integrity java jdbc dbms">
|
||||
<link rel="stylesheet" type="text/css" href="exporting-data-Dateien/styles.css"></head>
|
||||
<body left-margin="0" top-margin="0">
|
||||
<div align="left">
|
||||
<table style="text-align: left; position: absolute; left: 0pt; top: 0pt;" border="0" cellpadding="0" cellspacing="0" height="407" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2" class="bannerbackground" height="33" width="100%">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><img src="logo.png" hspace="10"></td>
|
||||
<td class="slogan" width="100%">Relational
|
||||
Data Browsing</td>
|
||||
<td style="text-align: right; width: 100%;">
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="http://sourceforge.net/projects/dbeauty/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=197260&type=1" alt="SourceForge.net Logo" style="border: 0px solid ;"></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="nav1background" height="33" width="100%"> <b><font color="#ffffff"><a href="home-db.htm" target="_self" class="tlink">Home</a>
|
||||
<a href="data-browsing-db.html" target="_self" class="tlinkA">Quick Tour</a>
|
||||
<a href="faq-db.html" target="_self" class="tlink">FAQ</a> <a href="api.html" target="_self" class="tlink">API</a>
|
||||
<a href="https://sourceforge.net/apps/phpbb/dbeauty/index.php" target="_self" class="tlink">Forum</a>
|
||||
<a href="https://sourceforge.net/projects/dbeauty/files/" target="_self" class="tlink">Download</a>
|
||||
</font></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" class="spacer" width="100%">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="lmenucontainer" height="100%" valign="top" width="14%">
|
||||
<div align="center">
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="100%"><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</div>
|
||||
<ul>
|
||||
<li><a href="data-browsing-db.html" target="_self" class="llinkA">Quick Tour</a></li>
|
||||
</ul>
|
||||
<table border="0" cellpadding="5" cellspacing="0" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="content2background">
|
||||
<img style="width: 160px; height: 1px;" alt="" src="architecture-Dateien/vgradp.gif"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p> </p>
|
||||
</td>
|
||||
<td class="contentbackground" height="418" valign="top" width="86%">
|
||||
<div align="right">
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="542" width="98%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="contentbackground" height="21" width="100%"> <br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="content" height="520" valign="top" width="100%"> <small><small> </small></small><br>
|
||||
<span style="font-weight: bold;">
|
||||
A
|
||||
quick tour through DBeauty</span><br>
|
||||
<br>
|
||||
<h4>1. Preparation</h4>
|
||||
<ul>
|
||||
<li><a href="installation-2-db.htm" class="llink">Install</a>
|
||||
DBeauty. </li>
|
||||
<li>Create the demo database by executing the
|
||||
script <a href="scott-tiger.sql-db.html" target="_blank" class="llink">dbeauty/script/scott-tiger.sql</a></li>
|
||||
</ul>
|
||||
<h4><br>
|
||||
2. Connect to the Database</h4>
|
||||
Start the Data Browser (<span style="font-family: monospace;">dbeauty.exe
|
||||
</span>or <span style="font-family: monospace;">dbeauty.bat</span>
|
||||
on windows platform)<br>
|
||||
<p>
|
||||
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; background-color: rgb(230, 255, 230);"><span style="font-family: monospace;">$ sh dbeauty.sh</span><span style="font-family: monospace;"></span><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br>and create a new data model. Press <span style="font-style: italic;">New</span> and enter "Tutorial" as the name for the new model.</p><p>
|
||||
<img style="width: 697px; height: 280px;" alt="" src="screenshot4.1.gif"><br>
|
||||
</p>
|
||||
<p><br>A data model holds information about the tables in the database and all
|
||||
associations between them.<br>
|
||||
Most of the information can be retrieved automatically by analyzing
|
||||
the database schema.<br>
|
||||
<br>
|
||||
Click on<span style="font-style: italic;"> Analyze Database</span>.<br>
|
||||
You will be asked for the
|
||||
database connection information.<br></p><p><img style="width: 655px; height: 328px;" alt="" src="screenshot4.2.gif"></p><p>Create a new connection.<br>
|
||||
</p>
|
||||
<p><img style="width: 409px; height: 316px;" alt="" src="dbs1.gif"><br>
|
||||
<br>
|
||||
</p>
|
||||
<p>Select the DBMS you are using from the displayed
|
||||
list, and fill out the following form:<br>
|
||||
</p>
|
||||
<img style="width: 570px; height: 369px;" alt="" src="screenshot4.3.gif"><br>
|
||||
<p><br>
|
||||
Finally click on<span style="font-style: italic;"> Connect</span><big style="font-style: italic;"><span style="font-family: monospace;"></span></big><span style="font-style: italic;">.</span> DBeauty finds seven tables and five associations:<br>
|
||||
<br>
|
||||
<img style="width: 866px; height: 362px;" alt="" src="exporting-data-Dateien/screen3.png"><br>
|
||||
<br>
|
||||
<br>
|
||||
Two associations are still missing: <br>
|
||||
</p>
|
||||
<ul><li>an employee is classified into a
|
||||
salary grade depending on his salary</li><li>employees may receive bonuses</li></ul>
|
||||
<br>
|
||||
Add the definitions manually (<big><span style="font-family: monospace;"><span style="font-family: mon;"><span style="font-style: italic;">Add</span>-</span></span></big>Button
|
||||
under <big><span style="font-family: monospace;"><font size="4">Associations</font></span></big>):<br>
|
||||
<br>
|
||||
<img style="width: 476px; height: 224px;" alt="" src="exporting-data-Dateien/screen4.png"><br>
|
||||
<br>
|
||||
<img style="width: 476px; height: 224px;" alt="" src="exporting-data-Dateien/screen42.png"><br>
|
||||
<br>The data model is now complete.<p><br><br><br><span style="font-weight: bold;">4. Browse a Table</span><br>
|
||||
</p>
|
||||
|
||||
Select the menu item "New Table Browser" from "File" and choose
|
||||
"EMPLOYEE" as the table you want to browse:
|
||||
<p><img style="width: 317px; height: 214px;" alt="" src="dbs5.gif"><br>
|
||||
<br>
|
||||
</p>
|
||||
<p>A Table Browser appears showing the rows
|
||||
of table EMPLOYEE.</p>
|
||||
<p><img style="width: 820px; height: 512px;" alt="" src="dbs6.gif"><br>
|
||||
</p>
|
||||
|
||||
<h4><br><br><br>5. Browse related Rows</h4>
|
||||
Select the "Children" item from the "Related Rows" drop-down menu and
|
||||
choose "EMPLOYEE on inverse-BOSS".<br>
|
||||
<br>
|
||||
<img style="width: 946px; height: 522px;" alt="" src="dbs8.gif"><br>
|
||||
<br>
|
||||
<br>
|
||||
Another Table Browser appears showing the subordinates of each Employee
|
||||
(the inverse of the "BOSS" relationship)<br>
|
||||
<br>
|
||||
<img style="width: 946px; height: 522px;" alt="" src="dbs7.gif"><br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<h4>6. Generate SQL-Query</h4>
|
||||
Within each table browser, a SQL-Query can be generated which selects
|
||||
exactly the browser's content.<br>
|
||||
Essentially it's a join of all the tables in the navigation
|
||||
chain.
|
||||
<p>Close the second "EMPLOYEE" browser, navigate from
|
||||
EMPLOYEE to PROJECT_PARTICIPATION, and from there to PROJECT.</p>
|
||||
<p>Choose "<span style="font-style: italic;">Query
|
||||
Builder</span>" item from the "<span style="font-style: italic;">SQL/Query</span>" menu in
|
||||
the "PROJECT" browser:</p>
|
||||
<p><img style="width: 601px; height: 370px;" alt="" src="dbs9.gif"></p>
|
||||
<p><br>
|
||||
The Query Builder form lets you save the query
|
||||
into a file, copy it to the clipboard or even execute it.<br>
|
||||
Choose "Execute" to get a query-result browser:</p>
|
||||
<img style="width: 990px; height: 667px;" alt="" src="dbs10.gif"><br>
|
||||
<p><br>
|
||||
Within this query-result browser, you can edit the
|
||||
query anyway you want.<br>
|
||||
</p>
|
||||
<p><img style="width: 810px; height: 519px;" alt="" src="dbs11.gif"></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p></p>
|
||||
<p><br>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p> </p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="12" valign="top" width="14%"><br>
|
||||
</td>
|
||||
<td><br>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body></html>
|
||||
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 72 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 7.1 KiB |
|
Before Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 988 B |
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 14 KiB |
@@ -1,106 +0,0 @@
|
||||
.spacer
|
||||
{
|
||||
HEIGHT:2px;
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
.lmenu
|
||||
{
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
BODY
|
||||
{
|
||||
FONT-SIZE:13px;
|
||||
COLOR:#000022;
|
||||
FONT-FAMILY:Tahoma;
|
||||
}
|
||||
A.tlink:link
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:visited
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
A.llink:link
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:visited
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
.llinkA
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
.tlinkA
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:15px;
|
||||
}
|
||||
.content
|
||||
{
|
||||
padding-top:3px;
|
||||
padding-left:10px;
|
||||
margin-left:10px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.footer
|
||||
{
|
||||
padding-top:3px;
|
||||
font-size:8px;
|
||||
padding-left:20px;
|
||||
margin-left:10px;
|
||||
text-align:center;
|
||||
border-top:1px solid #003399;
|
||||
}
|
||||
.bannerbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contentbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.lmenucontainer
|
||||
{
|
||||
background-image:url(./vgradp.gif);
|
||||
}
|
||||
.nav1background
|
||||
{
|
||||
background-image:url(./bg1.JPG);
|
||||
}
|
||||
.slogan
|
||||
{
|
||||
color:#000055;
|
||||
}
|
||||
.content2background
|
||||
{
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 579 B |
|
Before Width: | Height: | Size: 131 KiB |
|
Before Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 6.2 KiB |
@@ -1,106 +0,0 @@
|
||||
.spacer
|
||||
{
|
||||
HEIGHT:2px;
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
.lmenu
|
||||
{
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
BODY
|
||||
{
|
||||
FONT-SIZE:13px;
|
||||
COLOR:#000022;
|
||||
FONT-FAMILY:Tahoma;
|
||||
}
|
||||
A.tlink:link
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:visited
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
A.llink:link
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:visited
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
.llinkA
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
.tlinkA
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:15px;
|
||||
}
|
||||
.content
|
||||
{
|
||||
padding-top:3px;
|
||||
padding-left:10px;
|
||||
margin-left:10px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.footer
|
||||
{
|
||||
padding-top:3px;
|
||||
font-size:8px;
|
||||
padding-left:20px;
|
||||
margin-left:10px;
|
||||
text-align:center;
|
||||
border-top:1px solid #003399;
|
||||
}
|
||||
.bannerbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contentbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.lmenucontainer
|
||||
{
|
||||
background-image:url(./vgradp.gif);
|
||||
}
|
||||
.nav1background
|
||||
{
|
||||
background-image:url(./bg1.JPG);
|
||||
}
|
||||
.slogan
|
||||
{
|
||||
color:#000055;
|
||||
}
|
||||
.content2background
|
||||
{
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 579 B |
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 6.2 KiB |
@@ -1,106 +0,0 @@
|
||||
.spacer
|
||||
{
|
||||
HEIGHT:2px;
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
.lmenu
|
||||
{
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
BODY
|
||||
{
|
||||
FONT-SIZE:13px;
|
||||
COLOR:#000022;
|
||||
FONT-FAMILY:Tahoma;
|
||||
}
|
||||
A.tlink:link
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:visited
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
A.llink:link
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:visited
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
.llinkA
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
.tlinkA
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:15px;
|
||||
}
|
||||
.content
|
||||
{
|
||||
padding-top:3px;
|
||||
padding-left:10px;
|
||||
margin-left:10px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.footer
|
||||
{
|
||||
padding-top:3px;
|
||||
font-size:8px;
|
||||
padding-left:20px;
|
||||
margin-left:10px;
|
||||
text-align:center;
|
||||
border-top:1px solid #003399;
|
||||
}
|
||||
.bannerbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contentbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.lmenucontainer
|
||||
{
|
||||
background-image:url(./vgradp.gif);
|
||||
}
|
||||
.nav1background
|
||||
{
|
||||
background-image:url(./bg1.JPG);
|
||||
}
|
||||
.slogan
|
||||
{
|
||||
color:#000055;
|
||||
}
|
||||
.content2background
|
||||
{
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 579 B |
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 6.2 KiB |
@@ -1,106 +0,0 @@
|
||||
.spacer
|
||||
{
|
||||
HEIGHT:2px;
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
.lmenu
|
||||
{
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
BODY
|
||||
{
|
||||
FONT-SIZE:13px;
|
||||
COLOR:#000022;
|
||||
FONT-FAMILY:Tahoma;
|
||||
}
|
||||
A.tlink:link
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:visited
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
A.llink:link
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:visited
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
.llinkA
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
.tlinkA
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:15px;
|
||||
}
|
||||
.content
|
||||
{
|
||||
padding-top:3px;
|
||||
padding-left:10px;
|
||||
margin-left:10px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.footer
|
||||
{
|
||||
padding-top:3px;
|
||||
font-size:8px;
|
||||
padding-left:20px;
|
||||
margin-left:10px;
|
||||
text-align:center;
|
||||
border-top:1px solid #003399;
|
||||
}
|
||||
.bannerbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contentbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.lmenucontainer
|
||||
{
|
||||
background-image:url(./vgradp.gif);
|
||||
}
|
||||
.nav1background
|
||||
{
|
||||
background-image:url(./bg1.JPG);
|
||||
}
|
||||
.slogan
|
||||
{
|
||||
color:#000055;
|
||||
}
|
||||
.content2background
|
||||
{
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 579 B |
@@ -1,47 +0,0 @@
|
||||
<html><head><title>DBeauty</title>
|
||||
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="description" content="Data Export Tool">
|
||||
<meta name="keywords" content="data export referential integrity java jdbc dbms">
|
||||
<link rel="shortcut icon" href="favicon.ico" >
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="download-2-Dateien/styles.css"></head><body left-margin="0" top-margin="0">
|
||||
<div align="left">
|
||||
<table style="text-align: left; position: absolute; left: 0pt; top: 0pt;" border="0" cellpadding="0" cellspacing="0" height="407" width="100%">
|
||||
<tbody><tr>
|
||||
<td colspan="2" class="bannerbackground" height="33" width="100%"><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody><tr>
|
||||
<td><img src="logo.png" hspace="10"></td>
|
||||
<td class="slogan">Database Subsetting Tool</td><td style="text-align: right; width: 100%;"><a href="http://sourceforge.net/projects/dbeauty/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=197260&type=1" alt="SourceForge.net Logo" style="border: 0px solid ;"></a></td></tr><tr><td><a href=http://www.java.net><img src="javanet_button_90.gif" width="90" height="25" border="0" alt="java.net Member Button: 90px wide"></a></td></tr></table></td></tr></tbody></table>
|
||||
<b><font color="#ffffff"> </font></b></td></tr>
|
||||
<tr>
|
||||
<td colspan="2" class="nav1background" height="33" width="100%"> <b><font color="#ffffff">
|
||||
<a href="home-db.htm" target="_self" class="tlinkA">Home</a> <a href=exporting-data.htm target="_self" class="tlink">Tutorial</a> <a href="data-browsing-db.html" target="_self" class="tlink">Data Browser</a> <a href="faq-db.html" target="_self" class="tlink">FAQ</a> <a href="api.html" target="_self" class="tlink">API</a> <a href="design.htm" target="_self" class="tlink">Documentation</a> <a href="http://sourceforge.net/project/showfiles.php?group_id=197260" target="_self" class="tlink">Download</a> </font></b></td></tr>
|
||||
<tr>
|
||||
<td colspan="2" class="spacer" height="21" width="100%"></td></tr>
|
||||
<tr>
|
||||
<td class="lmenucontainer" height="100%" valign="top" width="14%">
|
||||
<div align="center">
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody><tr>
|
||||
<td width="100%"></td></tr></tbody></table></center></div>
|
||||
<ul>
|
||||
<li><a href="installation-2-db.htm" target="_self" class="llink">Installation</a></li>
|
||||
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=197260" target="_self" class="llinkA">Download</a></li></ul>
|
||||
<table border="0" cellpadding="5" cellspacing="0" width="100%">
|
||||
<tbody><tr>
|
||||
<td class="content2background"><img style="width: 160px; height: 1px;" alt="" src="architecture-Dateien/vgradp.gif"></td></tr></tbody></table><p> </p></td>
|
||||
<td class="contentbackground" height="418" valign="top" width="86%">
|
||||
<div align="right">
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="542" width="98%">
|
||||
<tbody><tr>
|
||||
<td class="contentbackground" height="21" width="100%"></td></tr>
|
||||
<tr>
|
||||
<td class="content" height="520" valign="top" width="100%">
|
||||
<p> </p></td></tr></tbody></table></div>
|
||||
<p> </p></td></tr>
|
||||
<tr>
|
||||
<td height="12" valign="top" width="14%"></td>
|
||||
<td></td></tr></tbody></table></div><script type="text/javascript">var pkBaseURL = (("https:" == document.location.protocol) ? "https://sourceforge.net/apps/piwik/jailer/" : "http://sourceforge.net/apps/piwik/jailer/"); document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); </script><script type="text/javascript"> try { var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 3); piwikTracker.trackPageView(); piwikTracker.enableLinkTracking(); } catch( err ) {} </script></body></html>
|
||||
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 6.2 KiB |
@@ -1,106 +0,0 @@
|
||||
.spacer
|
||||
{
|
||||
HEIGHT:2px;
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
.lmenu
|
||||
{
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
BODY
|
||||
{
|
||||
FONT-SIZE:13px;
|
||||
COLOR:#000022;
|
||||
FONT-FAMILY:Tahoma;
|
||||
}
|
||||
A.tlink:link
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:visited
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
A.llink:link
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:visited
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
.llinkA
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
.tlinkA
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:15px;
|
||||
}
|
||||
.content
|
||||
{
|
||||
padding-top:3px;
|
||||
padding-left:10px;
|
||||
margin-left:10px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.footer
|
||||
{
|
||||
padding-top:3px;
|
||||
font-size:8px;
|
||||
padding-left:20px;
|
||||
margin-left:10px;
|
||||
text-align:center;
|
||||
border-top:1px solid #003399;
|
||||
}
|
||||
.bannerbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contentbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.lmenucontainer
|
||||
{
|
||||
background-image:url(./vgradp.gif);
|
||||
}
|
||||
.nav1background
|
||||
{
|
||||
background-image:url(./bg1.JPG);
|
||||
}
|
||||
.slogan
|
||||
{
|
||||
color:#000055;
|
||||
}
|
||||
.content2background
|
||||
{
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 579 B |
@@ -1,46 +0,0 @@
|
||||
<html><head><title>DBeauty</title>
|
||||
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="description" content="Data Export Tool">
|
||||
<meta name="keywords" content="data export referential integrity java jdbc dbms">
|
||||
<link rel="shortcut icon" href="favicon.ico" >
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="download-Dateien/styles.css"></head><body left-margin="0" top-margin="0">
|
||||
<div align="left">
|
||||
<table style="text-align: left; position: absolute; left: 0pt; top: 0pt;" border="0" cellpadding="0" cellspacing="0" height="407" width="100%">
|
||||
<tbody><tr>
|
||||
<td colspan="2" class="bannerbackground" height="33" width="100%"><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody><tr>
|
||||
<td><img src="logo.png" hspace="10"></td>
|
||||
<td class="slogan">Database Subsetting Tool</td><td style="text-align: right; width: 100%;"><a href="http://sourceforge.net/projects/dbeauty/"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=197260&type=1" alt="SourceForge.net Logo" style="border: 0px solid ;"></a></td></tr><tr><td><a href=http://www.java.net><img src="javanet_button_90.gif" width="90" height="25" border="0" alt="java.net Member Button: 90px wide"></a></td></tr></table></td></tr></tbody></table>
|
||||
<b><font color="#ffffff"> </font></b></td></tr>
|
||||
<tr>
|
||||
<td colspan="2" class="nav1background" height="33" width="100%"> <b><font color="#ffffff">
|
||||
<a href="home-db.htm" target="_self" class="tlink">Home</a> <a href=exporting-data.htm target="_self" class="tlink">Tutorial</a> <a href="data-browsing-db.html" target="_self" class="tlink">Data Browser</a> <a href="faq-db.html" target="_self" class="tlink">FAQ</a> <a href="api.html" target="_self" class="tlink">API</a> <a href="design.htm" target="_self" class="tlink">Documentation</a>
|
||||
<a href="http://sourceforge.net/project/showfiles.php?group_id=197260" target="_self" class="tlinkA">Download</a> </font></b></td></tr>
|
||||
<tr>
|
||||
<td colspan="2" class="spacer" height="21" width="100%"></td></tr>
|
||||
<tr>
|
||||
<td class="lmenucontainer" height="100%" valign="top" width="14%">
|
||||
<div align="center">
|
||||
<center>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody><tr>
|
||||
<td width="100%"></td></tr></tbody></table></center></div>
|
||||
<ul></ul>
|
||||
<table border="0" cellpadding="5" cellspacing="0" width="100%">
|
||||
<tbody><tr>
|
||||
<td class="content2background"><img style="width: 160px; height: 1px;" alt="" src="architecture-Dateien/vgradp.gif"></td></tr></tbody></table><p> </p></td>
|
||||
<td class="contentbackground" height="418" valign="top" width="86%">
|
||||
<div align="right">
|
||||
<table border="0" cellpadding="0" cellspacing="0" height="542" width="98%">
|
||||
<tbody><tr>
|
||||
<td class="contentbackground" height="21" width="100%"></td></tr>
|
||||
<tr>
|
||||
<td class="content" height="520" valign="top" width="100%">
|
||||
<p> </p></td></tr></tbody></table></div>
|
||||
<p> </p></td></tr>
|
||||
<tr>
|
||||
<td height="12" valign="top" width="14%"></td>
|
||||
<td></td></tr></tbody></table></div><script type="text/javascript">var pkBaseURL = (("https:" == document.location.protocol) ? "https://sourceforge.net/apps/piwik/jailer/" : "http://sourceforge.net/apps/piwik/jailer/"); document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E")); </script><script type="text/javascript"> try { var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 3); piwikTracker.trackPageView(); piwikTracker.enableLinkTracking(); } catch( err ) {} </script></body></html>
|
||||
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 6.2 KiB |
@@ -1,106 +0,0 @@
|
||||
.spacer
|
||||
{
|
||||
HEIGHT:2px;
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
.lmenu
|
||||
{
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
BODY
|
||||
{
|
||||
FONT-SIZE:13px;
|
||||
COLOR:#000022;
|
||||
FONT-FAMILY:Tahoma;
|
||||
}
|
||||
A.tlink:link
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:visited
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
A.llink:link
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:visited
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
.llinkA
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
.tlinkA
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:15px;
|
||||
}
|
||||
.content
|
||||
{
|
||||
padding-top:3px;
|
||||
padding-left:10px;
|
||||
margin-left:10px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.footer
|
||||
{
|
||||
padding-top:3px;
|
||||
font-size:8px;
|
||||
padding-left:20px;
|
||||
margin-left:10px;
|
||||
text-align:center;
|
||||
border-top:1px solid #003399;
|
||||
}
|
||||
.bannerbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contentbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.lmenucontainer
|
||||
{
|
||||
background-image:url(./vgradp.gif);
|
||||
}
|
||||
.nav1background
|
||||
{
|
||||
background-image:url(./bg1.JPG);
|
||||
}
|
||||
.slogan
|
||||
{
|
||||
color:#000055;
|
||||
}
|
||||
.content2background
|
||||
{
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 579 B |
|
Before Width: | Height: | Size: 404 B |
|
Before Width: | Height: | Size: 6.2 KiB |
@@ -1,106 +0,0 @@
|
||||
.spacer
|
||||
{
|
||||
HEIGHT:2px;
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
.lmenu
|
||||
{
|
||||
BACKGROUND-COLOR:#FFCC00;
|
||||
}
|
||||
BODY
|
||||
{
|
||||
FONT-SIZE:13px;
|
||||
COLOR:#000022;
|
||||
FONT-FAMILY:Tahoma;
|
||||
}
|
||||
A.tlink:link
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:visited
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
A.tlink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
A.llink:link
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:visited
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:normal;
|
||||
FONT-SIZE:13px;
|
||||
}
|
||||
A.llink:hover
|
||||
{
|
||||
TEXT-DECORATION:underline;
|
||||
}
|
||||
.llinkA
|
||||
{
|
||||
COLOR:#003399;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:14px;
|
||||
}
|
||||
.tlinkA
|
||||
{
|
||||
COLOR:#000044;
|
||||
TEXT-DECORATION:none;
|
||||
FONT-WEIGHT:bold;
|
||||
FONT-SIZE:15px;
|
||||
}
|
||||
.content
|
||||
{
|
||||
padding-top:3px;
|
||||
padding-left:10px;
|
||||
margin-left:10px;
|
||||
margin-right:2px;
|
||||
}
|
||||
.footer
|
||||
{
|
||||
padding-top:3px;
|
||||
font-size:8px;
|
||||
padding-left:20px;
|
||||
margin-left:10px;
|
||||
text-align:center;
|
||||
border-top:1px solid #003399;
|
||||
}
|
||||
.bannerbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.contentbackground
|
||||
{
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.lmenucontainer
|
||||
{
|
||||
background-image:url(./vgradp.gif);
|
||||
}
|
||||
.nav1background
|
||||
{
|
||||
background-image:url(./bg1.JPG);
|
||||
}
|
||||
.slogan
|
||||
{
|
||||
color:#000055;
|
||||
}
|
||||
.content2background
|
||||
{
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
font-size:12px;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 579 B |
|
Before Width: | Height: | Size: 988 B |
|
Before Width: | Height: | Size: 404 B |