try, catch and finally in db connectionForming groovy connection string and obtaining Connection ObjectFiring Select Query and obtaining resultsForeac...
分类:
数据库 时间:
2015-10-08 16:11:34
阅读次数:
229
Save Money on Your IssuesRandy Loomis, PMP Andover, Connecticut, U.S.oUR CoMPAny WAS USIng TRAInIng SoFTWARE that was five upgrades behind. We reached the point where it was so out of date that the ven...
分类:
其他好文 时间:
2015-10-07 08:36:15
阅读次数:
176
def x = new String[3]x[0] = "A"x[1] = "B"x[2] = "C"log.info"XXXXXX 1"try{ x[3] = "D"// def z=9/0}catch(Exception e){ log.info "Some error "+e.getMessa...
分类:
其他好文 时间:
2015-10-06 22:11:38
阅读次数:
194
Employee.log=logEmployee e1 = new Employee()log.info e1.add(1,2,3,4)// optional parameters in groovylog.info e1.add(2,3)log.info e1.add(2,3,10)class E...
分类:
其他好文 时间:
2015-10-06 20:51:22
阅读次数:
207
Bank.log = logBank b1 = new Bank()b1.name = "BOA"b1.minbalance = 100b1.city="London"Bank b2 = new Bank()b2.name = "HSBC"b2.minbalance = 100b2.city="LA...
分类:
其他好文 时间:
2015-10-06 20:43:12
阅读次数:
139
Planet.log = loglog.info "starting"// we use class to create objects of a classPlanet p1 = new Planet()Planet p2 = new Planet()Planet p3 = new Planet....
分类:
其他好文 时间:
2015-10-06 18:05:30
阅读次数:
136
log.info "starting"// we use class to create objects of a classPlanet p1 = new Planet()Planet p2 = new Planet()Planet p3 = new Planet()//Planet.name ....
分类:
其他好文 时间:
2015-10-06 18:00:51
阅读次数:
166
log.info "starting"// we use class to create objects of a classPlanet p1 = new Planet()Planet p2 = new Planet()Planet p3 = new Planet()p1.name = "ear....
分类:
其他好文 时间:
2015-10-06 16:52:02
阅读次数:
198
注:本文内容来自:https://developer.android.com/training/wearables/apps/index.html翻译水平有限,如有疏漏,欢迎批评指教。译:山人创建可穿戴设备应用Creating Wearable AppsWearable apps run direc...
分类:
移动开发 时间:
2015-10-06 00:43:36
阅读次数:
341
注:本文内容来自:https://developer.android.com/training/wearables/notifications/index.html翻译水平有限,如有疏漏,欢迎批评指教。译:山人增加可穿戴设备功能到通知中Adding Wearable Features to Noti...
分类:
移动开发 时间:
2015-10-05 23:17:04
阅读次数:
333