code: public static String changeCatalog(String sql){
  		CatalogContext catalogContext = catalogContextHolder.get();
  		if(catalogContext != null && catalogContext.getCatalog() != null && catalogContext.getPlaceHolder() != null){
  			sql = sql.replace(catalogContext.getPlaceHolder(), catalogContext.getCatalog());
  		}
  		logger.debug("real sql: "+sql);
  		return sql;
  	}
docs: JdbcTemplateTool supports mulitiple catalog query. You can put a placeholder before your table name, JdbcTemplateTool will change this placeholder to real catalog name with the catalog stored in catalogContext.
  @param sql
  @return