摘要: Java泛型Generic - Thinking in Java读书笔记 阅读全文
posted @ 2018-01-24 22:30 KIKI_FAN 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 平时写了很多sql语句,Oracle中时间类型有date, datetime, timestamp, Java也类似,这几个基本都是贯通的,但是作为一个小白,这几天却碰到了一个怀疑自己智商的问题。 出错语句:resultSet(getString(getTimeStamp(“fieldName”, 阅读全文
posted @ 2017-12-18 23:01 KIKI_FAN 阅读(175) 评论(0) 推荐(0) 编辑
摘要: animal id name 1 dog 1 cat 2 lion 怎么得到相同id的name list呢?也就是想得到id 为1的list为dog, cat格式。 1. 首先Oracle有一个方法,wm_concat() 但很遗憾,现在已经不支持这个方法了. 2. 第二个方法XMLAGG() se 阅读全文
posted @ 2017-09-06 20:48 KIKI_FAN 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 今天碰到了一个SQL Error, 跟DBA同事沟通了很久。 原因是我在DEV,给一个Table增加了两个field,按理来说这种小问题不会出什么error,DEV和SIT也没有任何问题,偏偏在UAT报了错,于是估计是migration出了问题。跟同事沟通之后,发现UAT的这个Table也显示出增加 阅读全文
posted @ 2017-08-10 19:23 KIKI_FAN 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 在内部类中,如果要生成对外部类对象的引用,可以使用外部类的名字加.this,如Outer.this。 如果想要直接创建内部类的对象,可以使用外部类对象加.new,如new Outer().new。 阅读全文
posted @ 2017-07-07 22:14 KIKI_FAN 阅读(210) 评论(0) 推荐(0) 编辑
摘要: Final 最终的,无法改变的 1.final数据 1)It can be a compile-time constant that won’t ever change. 2)It can be a value initialized at run time that you don’t want 阅读全文
posted @ 2017-07-01 17:37 KIKI_FAN 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 构造器重载 (1)如果传入的数据类型(实参)小于重载方法中声明的形参类型,实际数据类型就会被提升。 常数值会被当做int值来处理。 char例外,如果没有接受char参数的方法,就会把char类型提升至int型。 (2)如果传入的实际参数大于重载方法声明的形式参数,就得通过类型转换来执行窄化转换,否 阅读全文
posted @ 2017-06-18 23:15 KIKI_FAN 阅读(420) 评论(0) 推荐(0) 编辑
摘要: add month/year to drop-down list box drop-down list添加日期 /* Add Month/Year to Card Expriry Month*/ Local Field &fld = GetField(); Local date &curDate = 阅读全文
posted @ 2017-05-07 10:54 KIKI_FAN 阅读(243) 评论(0) 推荐(0) 编辑
摘要: Hide static text 1.use a field in derived/work to instead static text. 2.use a groupbox to contain the staic text, select "Hide all Fields when Group 阅读全文
posted @ 2017-04-06 23:21 KIKI_FAN 阅读(173) 评论(0) 推荐(0) 编辑
摘要: Scroll level 0 is the parent of level 1 get level1 Local Rowset &rs = GetLevel0()(1).GetRowset(Scroll.LEVEL1_REC); /* or */ Local Rowset &rs = GetLeve 阅读全文
posted @ 2017-04-06 23:14 KIKI_FAN 阅读(308) 评论(0) 推荐(0) 编辑