- 博客(5)
- 收藏
- 关注
原创 copvalue from wrapper type to primitive type
/** * * if the field of orig is wrapper, will skip it and would not copy it to dest. * in the meantime, the primitive filed should default value when dest object corresponding wrapper field value
2016-06-18 09:33:02 296
转载 copvalue from wrapper type to primitive type
/** * * if the field of orig is wrapper, will skip it and would not copy it to dest. * in the meantime, the primitive filed should default value when dest object corresponding wrapper field value
2016-06-18 09:18:28 329
原创 copy wrapper tpye value to primitive type in simlar obejct except its fileds is primitive type
pls core method: void copyProperties(Object dest, Object orig) { Field[] fields = orig.getClass().getDeclaredFields(); for (Field field : fields) { field.setAccessible(true);
2016-06-18 09:12:26 304
转载 create sequence
create sequence 在oracle中sequence就是所谓的序列号,每次取的时候它会自动增加,一般用在需要按 序列号排序的地方。 1、 create sequence 你首先要有create sequence或者create any sequence权限, create sequence emp_sequence INCREMENT BY 1 -- 每次加几个
2015-10-28 11:24:39 220
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人