摘要: 连接数据库: gsql -U core -d username -W password -p prot -h ip 当前会话在select语句后加上\g\x\g即可(mysql 使用 \G),在不切换会话时,所有查询都会保持竖行展示 select * from table_name limit 1\ 阅读全文
posted @ 2020-07-28 16:30 Loser100 阅读(1075) 评论(0) 推荐(1)
摘要: WebClient webClient = WebClientUtil.initWebClient(); HtmlPage loginPage = webClient.getPage(new URL(login)); System.out.println("等待系统加载JS..."); webCli 阅读全文
posted @ 2020-07-22 15:30 Loser100 阅读(575) 评论(0) 推荐(0)
摘要: HtmlUnit.getPage或HtmlUnitDriver.get以后,不要立刻进行数据操作,可以 webClient.waitForBackgroundJavaScript(10000); 适当时间后,进行dom操作或抓取页面数据即可。 阅读全文
posted @ 2020-07-22 10:46 Loser100 阅读(618) 评论(1) 推荐(0)
摘要: SpringMVC + maven + tomcat 一个简单demo的实现 阅读全文
posted @ 2020-06-09 10:45 Loser100 阅读(329) 评论(0) 推荐(0)
摘要: 原生webservice调用大概逻辑如下: 客户端访问服务端wsdl,根据返回值查到对应需要使用的服务的wsdl service location,根据查询到的location发起真正的数据交换请求。 业务场景: 客户暴露http://127.0.0.1:8082/MsgETLServer/serv 阅读全文
posted @ 2020-04-28 17:48 Loser100 阅读(1144) 评论(0) 推荐(0)
摘要: 启动: @SpringBootApplicaton AOP: @Aspect @PointCut @Before @After @Around 控制层: @Controller @RestController:@Controller+@ResponseBody @RequestMapping @Va 阅读全文
posted @ 2020-03-10 17:33 Loser100 阅读(94) 评论(0) 推荐(0)
摘要: Show Profile是mysql提供的可以用来分析当前会话中sql语句执行的资源消耗情况的工具,可用于sql调优的测量。默认情况下处于关闭状态,并保存最近15次的运行结果。 1. 开启show profile功能,默认该功能关闭,每次使用前需要开启(Navicat默认打开链接后自动开启) 2.  阅读全文
posted @ 2020-03-02 23:38 Loser100 阅读(906) 评论(0) 推荐(0)