会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
老孙家人
博客园
首页
新随笔
联系
订阅
管理
2020年6月29日
java、js 实现 sleep休眠
摘要: java实现: 1 public class Sleep { 2 public static void main(String args[]) { 3 try { 4 System.out.println(new Date( ) + "\n"); 5 Thread.sleep(1000*5); //
阅读全文
posted @ 2020-06-29 11:41 老孙家人
阅读(450)
评论(0)
推荐(0)
2020年6月15日
windows 下查看 删除 java进程
摘要: 查看wmic process where caption="java.exe" get processid,caption,commandline /value 删除taskkill /pid 进程id /F
阅读全文
posted @ 2020-06-15 19:08 老孙家人
阅读(741)
评论(0)
推荐(0)
2020年5月26日
oracle11g导出空表的解决办法
摘要: select 'alter table '||table_name||' allocate extent;' from user_tables where segment_created='NO' 执行上方查询出来的alter语句即可
阅读全文
posted @ 2020-05-26 10:25 老孙家人
阅读(136)
评论(0)
推荐(0)
2020年5月7日
查看各个数据库表大小 (不包含索引) ,以及表数据量
摘要: mysql; SELECT table_name, concat( round((DATA_LENGTH / 1024 / 1024), 2), 'M' ) AS size, table_rows FROM information_schema. TABLES ORDER BY table_rows
阅读全文
posted @ 2020-05-07 08:57 老孙家人
阅读(275)
评论(0)
推荐(0)
2020年4月9日
oracle exp、imp 命令行(cmd)导入导出
摘要: exp 用户名/密码@orcl owner=用户名 file=E:\123.dmp imp 用户名/密码@orcl fromuser=来自的数据库用户名 touser=导入的数据库用户名 file=E:\export\test.dmp ignore=y
阅读全文
posted @ 2020-04-09 16:39 老孙家人
阅读(573)
评论(0)
推荐(0)
2020年3月19日
java读取自定义的.properties 配置文件 中的key-value值
摘要: /** * 读取 .properties 配置文件 * @param propertiesUrl 配置文件的路径 * @return 配置文件中的key-value值 */ public static Map<String, String> getProperties(String properti
阅读全文
posted @ 2020-03-19 20:44 老孙家人
阅读(1108)
评论(0)
推荐(1)
java代码获取当前时间是本周、本月、本年的第几天
摘要: public static void getWeekMonthYear(){ Map<String, Integer> mapInt = new LinkedHashMap<String, Integer>(); Calendar calendar = Calendar.getInstance();
阅读全文
posted @ 2020-03-19 20:38 老孙家人
阅读(7470)
评论(0)
推荐(0)
java执行python文件的方法
摘要: 1 public static void A(String pythonPath, String pyPath){ 2 Process proc; 3 String[] arg = new String[] { "python3", "后缀为.py的文件", "参数1", "参数2", "参数3"
阅读全文
posted @ 2020-03-19 20:26 老孙家人
阅读(699)
评论(0)
推荐(0)
2020年3月17日
LambdaQueryWrapper 中方法与数据的对应关系
摘要: setSqlSelect 设置 SELECT 查询字段 where WHERE 语句,拼接 + WHERE 条件 and AND 语句,拼接 + AND 字段=值 and New AND 语句,拼接 + AND (字段=值) or OR 语句,拼接 + OR 字段=值 orNew OR 语句,拼接
阅读全文
posted @ 2020-03-17 23:04 老孙家人
阅读(5748)
评论(0)
推荐(0)
2019年11月25日
JSONObject所必需的6个jar包
摘要: JSONObject所必需的6个jar包(提供网盘下载): commons-beanutils-1.7.0.jarcommons-collections-3.1.jarcommons-lang-2.5.jarcommons-logging.jarezmorph-1.0.3.jarjson-lib-2
阅读全文
posted @ 2019-11-25 19:46 老孙家人
阅读(1637)
评论(0)
推荐(0)
下一页
公告