`
文章列表
import java.sql.*; class DbmsOutput { public DbmsOutput(Connection conn) throws SQLException { enable_stmt = conn.prepareCall("begin dbms_output.enable(:1); end;"); disable_stmt = conn.prepareCall("begin dbms_output.disable; end;"); show_stmt = conn .prepa ...
photo

ppr

Drive Our Strategy: participate in every project actively, find the bugs ahead of time, guarantee the quality, gather test experience. Deliver Highly Valued Services and Solutions to Our Clients: Get further knowledge on SSA by studying BSD and communicating with colleagues. Write automation test ...
iReport Print When Expression: 0]]>==$P{portalialOption} code: <reportElement x="0" y="649" width="1300" height="75"> <printWhenExpression><![CDATA[0]]]]><![CDATA[>==$P{portalialOption}]]></printWhenExpression> ...
1.研究编译原理 2.研究oracle数据库: a.性能分析 b.SP分析工具 c.数据智能导出 3.练习英语听力
ls可以按照文件大小进行输出排序,这是一个很实用的参数。 man ls -S sort by file size 用法: ls -Sl         这是按照由大到小排序,如果想要反过来,从小到大,那么用: ls -Slr     如果想要输入是按照“便于人类阅读的方式”,那么就再加一个-h,表示"--human-readable"这样单位就是k或者M ,比较容易看清楚结果。

log4j

The first and foremost advantage of any logging API over plain System.out.println resides in For example, the logger named "com.foo" is a parent of the logger named "com.foo.Bar". Similarly, "java" is a parent of "java.util" and an ancestor of "java.util. ...

log4j place holder

    博客分类:
  • Java
System.setProperty("aaa", "customLog"); PropertyConfigurator.configure(MyApp.class.getClassLoader() .getResourceAsStream("ss_log4j.properties")); log4j.appender.A2.File=log/${aaa}_log.txt

check unix fomat

    博客分类:
  • Java
import java.io.File; import java.io.IOException; import org.apache.commons.io.FileUtils; public class CheckUnixFormat { public static void main(String[] args) throws Exception { String fileName = "test.txt"; String fileName2 = "test2.txt"; System.out.println( ...

HTML5 学习笔记

<a href="javascript:window.open('about:blank');">Open new window</a> 注意:原来浏览器窗口的内容会被改变,并返回一个新值[object], 如果想避免这样做,可以在语句末尾加上void语句,例如: javascript:window.open('about:blank');void 0; 这样,在执行时就不会改变原有窗口的内容。 DHTML是Dynamic HTML的简称,它是将HTML,CSS, JAVASCRIPT 3种语言结合起来。 同源策略: 如果协议、端口、主机相同,那 ...
Q: [2011-12-03 22:46:30 - Calulator] Unable to resolve target 'android-4' A: project.properties中target值修改下 Q: 编译错误,找不到android包 A: .classpath中添加: <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" pat ...
装了oracle后eclipse 无法启动 因为环境变量被改变,其中java 版本发生变化
pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> ...

M/dd/yyyy

    博客分类:
  • Java
M表示月,05->5, 12->12: System.out.println(new SimpleDateFormat("M/dd/yyyy").format(new SimpleDateFormat("yyyy-MM-dd").parse("2012-02-13")));

SimpleDateFormat注意

    博客分类:
  • Java
SimpleDateFormat不是线程安全的,所以建议不要设为static变量
Global site tag (gtag.js) - Google Analytics