Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New modification for Hint. #1300

Merged
merged 26 commits into from
Sep 25, 2018
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7a1600b
Merge branch 'dev' of ssh://github.com/shardingjdbc/sharding-jdbc int…
tristaZero Sep 23, 2018
0c7d70f
Merge branch 'dev' of ssh://github.com/shardingjdbc/sharding-jdbc int…
tristaZero Sep 24, 2018
e528244
delete some method
tristaZero Sep 25, 2018
c1a6fe4
add java doc
tristaZero Sep 25, 2018
d227088
delete databaseShardingOnly;
tristaZero Sep 25, 2018
401efb1
add isDatabaseShardingOnly()
tristaZero Sep 25, 2018
d6d6357
for checkstyle
tristaZero Sep 25, 2018
d71e7d6
modify case
tristaZero Sep 25, 2018
9ca98ba
add cases
tristaZero Sep 25, 2018
775d1ba
Merge branch 'dev' of ssh://github.com/shardingjdbc/sharding-jdbc int…
tristaZero Sep 25, 2018
556e92f
delete some cases
tristaZero Sep 25, 2018
f60a8ed
modify to setDatabaseShardingValue()
tristaZero Sep 25, 2018
ed45cfe
modify function names
tristaZero Sep 25, 2018
a57644c
add new property
tristaZero Sep 25, 2018
a7a7e16
HintManagerHolder.setDatabaseShardingOnly(true);
tristaZero Sep 25, 2018
4ea8623
delete isDatabaseShardingOnly()
tristaZero Sep 25, 2018
45cdf29
delete isDatabaseShardingOnly()
tristaZero Sep 25, 2018
2faa725
modify addDatabaseShardingValue()
tristaZero Sep 25, 2018
4386c9d
modify addTableShardingValue()
tristaZero Sep 25, 2018
1dc9b9c
HintManagerHolder.setDatabaseShardingOnly(false);
tristaZero Sep 25, 2018
94c8464
modify assertAddTableShardingValueForIn()
tristaZero Sep 25, 2018
4d6fb64
modify position
tristaZero Sep 25, 2018
f378073
modify to HintManagerHolder.DB_COLUMN_NAME
tristaZero Sep 25, 2018
d4b6b9f
modify case
tristaZero Sep 25, 2018
8692b41
isDatabaseShardingOnly()
tristaZero Sep 25, 2018
2e54772
change public
tristaZero Sep 25, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
delete isDatabaseShardingOnly()
  • Loading branch information
tristaZero committed Sep 25, 2018
commit 4ea8623f5d0ee5371d4a58c9507da187ba59275c
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,6 @@ public static HintManager getInstance() {
return result;
}

/**
* Judge whether it is only database sharding.
*
* @return Only database sharding or not
*/
public boolean isDatabaseShardingOnly() {
return databaseShardingValues.containsKey(HintManagerHolder.DB_TABLE_NAME) && tableShardingValues.isEmpty();
}

/**
* Add sharding value for database sharding only.
*
Expand Down