分库分表强制读主库

it2022-05-05  150

//强制读主库 if (!HintManagerHolder.isMasterRouteOnly()) { HintManagerHolder.clear(); HintManager hintManager = HintManager.getInstance(); hintManager.setMasterRouteOnly(); }

最新回复(0)