自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 乐观锁更新失败重试解决方案

思路用aop解决问题 1.自定义异常 2,更新失败的时候抛出此异常 3.。重试机制

2014-09-24 17:22:26 11392

原创 struts2 跳转

class="XXXX.NotifyTradeSuccessAction"> redirect.htm ${successMessage} true redirect.htm ${errorMessage} true

2014-08-26 17:20:25 264

原创 rsa

package RSA.rsa; import java.security.Key; import java.security.KeyFactory; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.PrivateKey; import java.

2014-08-26 17:19:21 282

原创 lucence helloword

需要 lucene-analyzers-3.6.2.jar lucene-core-3.6.2.jar import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.i

2014-08-26 17:18:34 233

转载 缓存设计

public interface Computable {     V compute(A arg) throws InterruptedException; } public class ExpensiveFunctuion implements Computable {     public Integer compute(String arg) throws

2014-08-26 17:17:44 227

原创 简单IOC

public class BeanDefinition {     private String id; // 对应 spring配置文件中的id     private String className; // 对应 spring配置文件中的class     // 定义 bean中 属性的节点 集合     private List propertys = new ArrayL

2014-08-26 17:17:25 260

原创 调用oracle type 去调试

DECLARE   pos_rec CM.CM_POS_REC := cm.cm_pos_rec();   IO_REASON_MSG VARCHAR2(200); BEGIN   -- Modify the code to initialize the variable   -- POS_REC := NULL;   pos_rec.sec_name := 'name';   p

2014-08-26 17:17:13 330

原创 得到包下所有类

private static List getClass(String packageName) {         File file = new File(""); // 为了打包后运行jar包可以得到地址         String filePath = "/" + file.getAbsolutePath().replace("\\", "/")               

2014-08-26 17:15:30 220

原创 spring动态生成bean

读取properties 然后动态生成lineTokenizer bean.         GenericApplicationContext context = new GenericApplicationContext();                  PropertySourcesPlaceholderConfigurer pph = new PropertySourcesPl

2014-08-26 17:14:55 493

转载 oracle隔离级别

隔离级别(isoation eve) 隔离级别定义了事务与事务之间的隔离程度。 隔离级别与并发性是互为矛盾的:隔离程度越高,数据库的并发性越差;隔离程度越低,数据库的并发性越好。 ANSI/ISO SQ92标准定义了一些数据库操作的隔离级别: 未提交读(read uncommitted) 提交读(read committed)   重复读(repeatabe read)   序

2014-08-26 17:14:31 405

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除