• Now all data be ready for publish, We had made our blog alive now. Haha.



  • These days CCP GFW blocked all the IPs from US and when I switch my IP in google Cloud, the disk data cannot be restore again. I have to restart my blog totally, Now the website is still building…



java related posts

java8 几个特殊的对象

1. 函数式接口 @FunctionalInterface 定义: 首先是一个接口,然后就是在这个接口里面只能有一个抽象方法 用途: 它们主要用在Lambda表达式和方法引用(实际上也可认为是Lambda表达式)上 如定义了一个函数式接口如下: @FunctionalInterface interface GreetingService ……

10-26 DETAIL

Spring BeanUtils.copyProperties,BeanUtil.copyProperties 和MapStruct

Object mapping 的技术分类: * 运行期 反射调用set/get 或者是直接对成员变量赋值 。 该方式通过invoke执行赋值 *,实现时一般会采用beanutil, Javassist等开源库。这类的代表:Dozer,ModelMaper * 编译期 动态生成set/get代码的class文件 ,在运行时直接调用该class文件。* 该方式实……

10-26 DETAIL

Avoid WHERE 1 = 1 in SQL

The most common thing to do in dynamic SQL is conditionally include a part of a where clause. For example: <select id="findActiveBlogLike" resultType="Blo……

10-24 DETAIL