-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2. keyGeneratorClass => keyGeneratorClassName
- Loading branch information
Showing
144 changed files
with
569 additions
and
779 deletions.
There are no files selected for viewing
6 changes: 2 additions & 4 deletions
6
sharding-jdbc-core/src/test/resources/asserts/alter/assert-test.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
<asserts sharding-rule-config="./config/test" init-data-file="./init" database="h2,mysql,oracle,sqlserver,postgresql"> | ||
<assertDDL id="assertAlterTable" init-sql="createTLog" clean-sql="dropTLog" expected-update="1" sql="assertAlterTable" | ||
table="t_log" | ||
expected-data-file="t_order_update.xml"> | ||
<assertDDL id="assertAlterTable" init-sql="createTLog" clean-sql="dropTLog" expected-update="1" sql="assertAlterTable" table="t_log" expected-data-file="t_order_update.xml"> | ||
</assertDDL> | ||
<assertDDL id="assertAlterTableIfExistAndOnly" init-sql="createTLog" clean-sql="dropTLog" expected-update="1" sql="assertAlterTable" | ||
table="t_log" | ||
expected-data-file="t_order_update.xml"> | ||
</assertDDL> | ||
</asserts> | ||
</asserts> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
<cloumn name="name" type="varchar"/> | ||
</table> | ||
</metadata> | ||
</init> | ||
</init> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 34 additions & 36 deletions
70
sharding-jdbc-core/src/test/resources/asserts/alter/init/dbtbl/dbtbl_1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,35 @@ | ||
<init> | ||
<dataset> | ||
<t_order_0 order_id="1100" user_id="11" status="init" /> | ||
<t_order_1 order_id="1101" user_id="11" status="init" /> | ||
<t_order_2 order_id="1102" user_id="11" status="init" /> | ||
<t_order_3 order_id="1103" user_id="11" status="init" /> | ||
<t_order_4 order_id="1104" user_id="11" status="init" /> | ||
<t_order_5 order_id="1105" user_id="11" status="init" /> | ||
<t_order_6 order_id="1106" user_id="11" status="init" /> | ||
<t_order_7 order_id="1107" user_id="11" status="init" /> | ||
<t_order_8 order_id="1108" user_id="11" status="init" /> | ||
<t_order_9 order_id="1109" user_id="11" status="init" /> | ||
|
||
<t_order_item_0 item_id="110000" order_id="1100" user_id="11" status="init" /> | ||
<t_order_item_0 item_id="110001" order_id="1100" user_id="11" status="init" /> | ||
<t_order_item_1 item_id="110100" order_id="1101" user_id="11" status="init" /> | ||
<t_order_item_1 item_id="110101" order_id="1101" user_id="11" status="init" /> | ||
<t_order_item_2 item_id="110200" order_id="1102" user_id="11" status="init" /> | ||
<t_order_item_2 item_id="110201" order_id="1102" user_id="11" status="init" /> | ||
<t_order_item_3 item_id="110300" order_id="1103" user_id="11" status="init" /> | ||
<t_order_item_3 item_id="110301" order_id="1103" user_id="11" status="init" /> | ||
<t_order_item_4 item_id="110400" order_id="1104" user_id="11" status="init" /> | ||
<t_order_item_4 item_id="110401" order_id="1104" user_id="11" status="init" /> | ||
<t_order_item_5 item_id="110500" order_id="1105" user_id="11" status="init" /> | ||
<t_order_item_5 item_id="110501" order_id="1105" user_id="11" status="init" /> | ||
<t_order_item_6 item_id="110600" order_id="1106" user_id="11" status="init" /> | ||
<t_order_item_6 item_id="110601" order_id="1106" user_id="11" status="init" /> | ||
<t_order_item_7 item_id="110700" order_id="1107" user_id="11" status="init" /> | ||
<t_order_item_7 item_id="110701" order_id="1107" user_id="11" status="init" /> | ||
<t_order_item_8 item_id="110800" order_id="1108" user_id="11" status="init" /> | ||
<t_order_item_8 item_id="110801" order_id="1108" user_id="11" status="init" /> | ||
<t_order_item_9 item_id="110900" order_id="1109" user_id="11" status="init" /> | ||
<t_order_item_9 item_id="110901" order_id="1109" user_id="11" status="init" /> | ||
|
||
<t_config id="1" status="init" /> | ||
</dataset> | ||
</init> | ||
<dataset> | ||
<t_order_0 order_id="1100" user_id="11" status="init" /> | ||
<t_order_1 order_id="1101" user_id="11" status="init" /> | ||
<t_order_2 order_id="1102" user_id="11" status="init" /> | ||
<t_order_3 order_id="1103" user_id="11" status="init" /> | ||
<t_order_4 order_id="1104" user_id="11" status="init" /> | ||
<t_order_5 order_id="1105" user_id="11" status="init" /> | ||
<t_order_6 order_id="1106" user_id="11" status="init" /> | ||
<t_order_7 order_id="1107" user_id="11" status="init" /> | ||
<t_order_8 order_id="1108" user_id="11" status="init" /> | ||
<t_order_9 order_id="1109" user_id="11" status="init" /> | ||
<t_order_item_0 item_id="110000" order_id="1100" user_id="11" status="init" /> | ||
<t_order_item_0 item_id="110001" order_id="1100" user_id="11" status="init" /> | ||
<t_order_item_1 item_id="110100" order_id="1101" user_id="11" status="init" /> | ||
<t_order_item_1 item_id="110101" order_id="1101" user_id="11" status="init" /> | ||
<t_order_item_2 item_id="110200" order_id="1102" user_id="11" status="init" /> | ||
<t_order_item_2 item_id="110201" order_id="1102" user_id="11" status="init" /> | ||
<t_order_item_3 item_id="110300" order_id="1103" user_id="11" status="init" /> | ||
<t_order_item_3 item_id="110301" order_id="1103" user_id="11" status="init" /> | ||
<t_order_item_4 item_id="110400" order_id="1104" user_id="11" status="init" /> | ||
<t_order_item_4 item_id="110401" order_id="1104" user_id="11" status="init" /> | ||
<t_order_item_5 item_id="110500" order_id="1105" user_id="11" status="init" /> | ||
<t_order_item_5 item_id="110501" order_id="1105" user_id="11" status="init" /> | ||
<t_order_item_6 item_id="110600" order_id="1106" user_id="11" status="init" /> | ||
<t_order_item_6 item_id="110601" order_id="1106" user_id="11" status="init" /> | ||
<t_order_item_7 item_id="110700" order_id="1107" user_id="11" status="init" /> | ||
<t_order_item_7 item_id="110701" order_id="1107" user_id="11" status="init" /> | ||
<t_order_item_8 item_id="110800" order_id="1108" user_id="11" status="init" /> | ||
<t_order_item_8 item_id="110801" order_id="1108" user_id="11" status="init" /> | ||
<t_order_item_9 item_id="110900" order_id="1109" user_id="11" status="init" /> | ||
<t_order_item_9 item_id="110901" order_id="1109" user_id="11" status="init" /> | ||
<t_config id="1" status="init" /> | ||
</dataset> | ||
</init> |
Oops, something went wrong.