- 博客(6)
- 收藏
- 关注
原创 pwMatrix
<br />Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSourceHelper' defined in class path resource [testDBApplicationContext.xml]: Invocation of init method failed; nested exception is
2010-10-18 20:04:00 1851
原创 Annotations in Tiger, Part 2: Custom annotations
<br />In the first article in this series , I explained what metadata is, why it's valuable, and how to use the basic built-in annotations introduced in J2SE 5.0 (aka Tiger). If you're comfortable with these concepts now, you might already be thinki
2010-10-18 12:48:00 447
原创 Annotations in Tiger, Part 1: Add metadata to Java code
<br />One of the latest trends in programming, particularly in Java programming, is the use of metadata . Metadata, simply put, is data about data. Metadata can be used to create documentation, to track down dependencies in code, and even to perfo
2010-10-18 12:44:00 928 1
转载 Unit tests with JUnit
<br />By David Neary .<br /> Contents:<br />Why write tests? To test code To document interfaces To locate bugs To fix bugs JUnit How to use it Starting a class Full speed ahead Testing edge cases Conclusion <br />Unit tests with JUnit <
2010-10-14 19:54:00 858
转载 Eclipse中使用Junit插件测试
<br /> 测试对于保证软件开发质量有着非常重要的作用,单元测试更是必不可少,JUnit是一个非常强大的单元测试包,可以对一个/多个类的单个/多个方法测试,还可以将不同的TestCase组合成TestSuit,使测试任务自动化。Eclipse同样集成了JUnit,可以非常方便地编写TestCase。 <br /> 我们创建一个Java工程,添加一个example.Hello类,首先我们给Hello类添加一个abs()方法,作用是返回绝对值:<br /><br /> 下一步,我们准备对这个方法进行测
2010-10-14 19:52:00 604
原创 存储过程的一个例子
<br /> <br />spool gec13_merge_security_master.log;<br /><br /> prompt create temp table<br /> select to_char(sysdate, 'HH24:MI:SS') as begin_time from dual;<br /> CREATE table GECDBA.GEC_ASSET_TEMP<br /> (<br /> ASSET_ID NUMBER(38, 0),<br /> CUS
2010-10-08 20:15:00 332
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人