02 2015 档案

摘要:import java.security.MessageDigest;public class EncryptionKit { public static String md5Encrypt(String srcStr){ return encrypt("MD5", sr... 阅读全文
posted @ 2015-02-11 14:28 欢歌911 阅读(1253) 评论(0) 推荐(0)
摘要:/** * Copyright (c) 2011-2015, James Zhan 詹波 (jfinal@126.com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use t... 阅读全文
posted @ 2015-02-11 14:24 欢歌911 阅读(1703) 评论(0) 推荐(0)
摘要:/** * Prop. Prop can load properties file from CLASSPATH or File object. */public class Prop { private Properties properties = null; /**... 阅读全文
posted @ 2015-02-11 14:10 欢歌911 阅读(2136) 评论(0) 推荐(0)
摘要:/** * StrKit. */public class StrKit { /** * 首字母变小写 */ public static String firstCharToLowerCase(String str) { char firstChar ... 阅读全文
posted @ 2015-02-11 13:57 欢歌911 阅读(730) 评论(0) 推荐(0)
摘要:有用插件:Maven Release Plugin 版本发布;cargo-maven2-plugin 自动化部署;jetty-maven-plugin web测试;maven-gpg-plugin, GPG:http://www.gnupg.org/download/ 给maven构件加密 hkp:... 阅读全文
posted @ 2015-02-07 13:59 欢歌911 阅读(2328) 评论(0) 推荐(0)
摘要:(1)锁表查询的代码有以下的形式:select count(*) from v$locked_object;select * from v$locked_object;(2)查看哪个表被锁select b.owner,b.object_name,a.session_id,a.locked_mode ... 阅读全文
posted @ 2015-02-03 13:36 欢歌911 阅读(372) 评论(0) 推荐(0)
摘要:/** * 不包含非法字符 */ public static final String DO_NOT_HAVE_ILLEGAL = "[^&\\\\'\"]+"; /** * 不包含非法字符 */ ... 阅读全文
posted @ 2015-02-02 11:27 欢歌911 阅读(125) 评论(0) 推荐(0)