摘要: 查询数据库中被锁住的表Select c.sid,c.serial#,d.name,b.object_name,c.username,c.program,c.osuser from gv$Locked_object a, All_objects b, gv$session c, audit_actio 阅读全文
posted @ 2019-06-02 11:11 回忆里的小男孩 阅读(968) 评论(0) 推荐(0) 编辑
摘要: js中 replace(/\//g, '') 什么作用. 正则表达式 replace(/\//g, '') 的作用是把/替换成''。 用法如下: 比如:var aa= "adsdd/sdsd12/"; bb=aa.replace(/\//g, '') ; 那么bb=adsddsdsd12 说明: 1 阅读全文
posted @ 2019-06-02 11:09 回忆里的小男孩 阅读(751) 评论(0) 推荐(0) 编辑
摘要: 一、语法 大致写法:select * from some_table [where 条件1] connect by [条件2] start with [条件3]; 其中 connect by 与 start with 语句摆放的先后顺序不影响查询的结果,[where 条件1]可以不需要。 [wher 阅读全文
posted @ 2019-06-02 11:06 回忆里的小男孩 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 1、在启动类中添加 阅读全文
posted @ 2019-05-23 19:04 回忆里的小男孩 阅读(5524) 评论(0) 推荐(0) 编辑
摘要: Lombok是一个很好的工具,节省了很多重写方法,而@ToString就是节省了ToString方法,lombok中@ToString就是节省了我们在模型中的冗余代码下面就来举个例子 引入@ToString注解后的代码 引自:https://himichaelchu.iteye.com/blog/2 阅读全文
posted @ 2019-05-23 10:47 回忆里的小男孩 阅读(5062) 评论(1) 推荐(0) 编辑
摘要: 1、打开IDEA的settings,然后在Editor下找到File and Code Templates 2、然后选择File Header 选择需要注释的的格式即可。 阅读全文
posted @ 2019-05-21 14:00 回忆里的小男孩 阅读(6702) 评论(2) 推荐(0) 编辑