- 博客(148)
- 问答 (5)
- 收藏
- 关注
原创 MySQL NULL值处理详细说明
– 查出 A 表中,col 不等于 A 的数据,col 中可能有 null;SELECT * FROM A WHERE col != ‘A’SELECT * FROM A WHERE col != ‘A’ OR col IS NULL– MYSQL中,NULL值与任何值比较永不为真SELECT NULL != ‘A’– NULL表示的是“a missing unknown value”,...
2018-11-02 10:42:58
392
原创 proxy in Spring
https://stackoverflow.com/questions/3489428/proxyfactorybean-in-springhttp://uule.iteye.com/blog/869309https://www.mkyong.com/spring/spring-auto-proxy-creator-example/https://www.jianshu.com/p/8...
2018-06-30 13:03:04
345
原创 FactoryBean in Spring
https://stackoverflow.com/questions/3489428/proxyfactorybean-in-springhttp://uule.iteye.com/blog/869309https://www.mkyong.com/spring/spring-auto-proxy-creator-example/https://www.jianshu.com/p/8...
2018-05-27 11:40:50
348
原创 @OneToMany
orphanRemoval=true怎么理解 https://www.oschina.net/question/925076_157346https://vladmihalcea.com/the-best-way-to-map-a-onetomany-association-with-jpa-and-hibernate/https://www.callicoder.com/hiberna...
2018-05-22 17:36:58
1176
原创 Shiro Annotations
1、shiro 支持的注解@RequiresAuthentication@RequiresPermissions@RequiresRoles@RequiresUser@RequiresGuest在方法上加上上述的 shiro annotations,用 AOP 的知识可以理解成:定义了 Pointcut。2、Enabling Shiro AnnotationsRequire...
2018-05-17 10:17:38
347
原创 SQL 问题积累
1. 取出每组中的最后一条记录:SELECT m1.* FROM messages m1 LEFT JOIN messages m2 ON (m1.name = m2.name AND m1.id < m2.id) WHERE m2.id IS NULL;2. 在数据库中,union和union all关键字都是将两个结果集合并为一个,但这两者从使用和效率上来说都有所不同。 ...
2018-04-19 23:17:27
170
原创 @ManyToMany —— 双向多对多关联(bidirectional many-to-many association)
理解 解除关联关系 和 删除实体对象https://www.cnblogs.com/lj95801/p/5011537.htmlhttp://www.cnblogs.com/luxh/archive/2012/05/30/2527123.htmlhttp://www.blogjava.net/rongxh7/archive/2009/06/08/280637.htmlhttps:/...
2018-04-13 21:43:43
1345
原创 Annotations
https://dzone.com/articles/how-annotations-work-javahttps://beginnersbook.com/2014/09/java-annotations/
2018-04-12 21:18:49
943
原创 Ionic view lifecycle
To improve performance, Ionic developers have implemented and improved ability to cache view elements and scope data. With enabled caching, once initialized, a controller will persist throughout the ap
2016-12-19 21:38:13
359
原创 SQL: IN VS EXISTS
The reason is that the EXISTS operator works based on the “at least found” principle. It returns true and stops scanning table once at least one matching row found.On the other hands, when the IN opera
2016-12-01 16:47:54
300
原创 height vs line-height
line-height:行高 设置文字间上下距离 height:高度 就是定义一个层 或某样东西的高度也就是说line-height是特指单行高度,height可以为所有元素的高度 是用来规定整个div的高搜索度,文字还是默认会在顶端开始向下排列 是规定行高的,就是一行120个像素,文字会相对于这120像素垂直居中!line-height直白理解就是文字高度加上文字上下的空白区域,line
2016-11-27 12:28:07
332
原创 AngularJS: controllers shouldn’t try to do too much
AngularJS: Use The Service, Not The Controller
2016-11-11 21:49:43
378
原创 promise
Callback Hellhttp://es6.ruanyifeng.com/#docs/promiseJavaScript Promises for DummiesAn Overview of JavaScript PromisesA Deeper Dive Into JavaScript Promiseshttps://www.toptal.com/javascript/j...
2016-11-11 16:38:17
531
原创 Fixing Unsupported major.minor version 52.0 Error in Java
Fixing Unsupported major.minor version 52.0 Error in Java
2016-11-07 19:36:58
449
原创 AngularJS: Date filtering and formatting
Date filtering and formatting in Angular js
2016-11-06 15:06:49
228
空空如也
对java list 中的日期进行分段获取
2018-03-19
centOs 7 的时区修改问题
2017-06-05
the sort result is affected
2016-10-04
final变量和普通变量的区别
2016-03-28
TA创建的收藏夹 TA关注的收藏夹
TA关注的人