`
文章列表
When Import Maven project: "Java Build Path" > "Libraries" 中的 component 显示的是引用 jar, 而不是引用本 workspace. 此时就要勾选 "Resolve Workspace projects".   Resolve Workspace projects: Dependencies opened as workspace projects will be resolved without having to install them to ...
v$sqltext存储的是完整的SQL,SQL被分割 SQL> desc v$sqltextName                                      Null?    Type----------------------------------------- -------- ----------------------------ADDRESS                                            RAW(4)    ---------HASH_VALUE                                     ...
db block get+consistent gets = logical read   consistent gets=一致性读的block的个数,简单理解就是select访问的block个数 db block gets=简单理解,就是update、insert、delete访问的block个数   logical I/O 与 physical I/O 的区别: 1)logical I/O是指对cache到 Buffer Cache 中的数据块(db block)的访问请求。又分为:consistent gets 和 db block gets(current gets) co ...

Stock Program

  <html> <header> <META http-equiv="refresh" CONTENT="10" > </header> <script type="text/javascript" src="http://hq.sinajs.cn/list=sz300029" charset="gb2312"></script> <script type="text/javascript ...

100000

  12443       1 0  12577       1 1   6358       2 0   6229       2 1   3036       3 0   3116       3 1   1586       4 0   1519       4 1    812       5 0    832       5 1    409       6 0    382       6 1    184       7 0    172       7 1    109       8 0    102       8 1     43       9 0     50      ...

Link

https://www.ibm.com/developerworks/cn/     http://oukc.oracle.com/static05/akc/new_account.html?HY1AU1690015307~1502681937~1504072630~15941~US

log4j

Appender 为日志输出目的地,Log4j提供的appender有以下几种: org.apache.log4j.ConsoleAppender(控制台),org.apache.log4j.FileAppender(文件),org.apache.log4j.DailyRollingFileAppender(每天产生一个日志文件),org.apache.log4j.RollingFileAppender(文件大小到达指定尺寸的时候产生一个新的文件),org.apache.log4j.WriterAppender(将日志信息以流格式发送到任意指定的地方) Layout:日志输出格式,L ...

hsqldb快速入门

数据库环境配置和使用   首先从http://www.hsqldb.org/下载一个hsqldb的稳定版本,解压后可以浏览解压目录下的index.html,它描述了各个目录所包含内容,在doc段里有一个重要的链接User Guide: index.html,有空好好研究吧!   数据库实例创建   在hsqldb的管理中,如果启动的数据库文件不存在,就新建该数据库文件。 Hsldb启动   Hsqldb的启动模式有三种主要模式,其他参见User Guide:   Server 该模式就像启动mysql、oracle等数据库一样,数据库启动后作为一个服务存在,其他数据库工 ...
  Connect as CLIENT Mode. Connect as Non-SSL Mode. com.ibm.mqservices.MQInternalException: MQJE001: An MQException occurred: Completion Code 2, Reason 2035 MQJE036: Queue manager rejected connection attempt         at com.ibm.mq.MQv6InternalCommunications.parseConnReply(MQv6InternalCommunicatio ...
$ Decoder / Encoder /opt/WebSphere85/AppServer/java/bin/java -Djava.ext.dirs=/opt/WebSphere85/AppServer/plugins:/opt/WebSphere85/AppServer/lib com.ibm.ws.security.util.PasswordDecoder {xor}GyhrbiYGKmc= /opt/WebSphere70/AppServer/java/bin/java -Djava.ext.dirs=/opt/WebSphere70/AppServer/plugins:/op ...
Caused by: com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED'). at com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:223) ... 20 more   Solution: Run this command to grant right: /home/lpp ...

Junit4 Sample

    博客分类:
  • Java
package com.lin.MavenTest; import static java.lang.System.out; import static org.junit.Assert.*; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; /** * JUnit 4 uses org.junit.* ...

Junit3 Sample

    博客分类:
  • Java
package com.lin.MavenTest; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import junit.textui.TestRunner; /** * JUnit 3 uses junit.Framework.* */ public class AppTest extends TestCase { /** * Create the test case * * @param te ...

Spring related

1. 使用 Spring 自身的传统 API 方式 前置通知接口(MethodBeforeAdvice)、环绕通知接口(MethodInterceptor)、后置通知接口(AfterReturningAdvice) 这三个接口   2. 使用 <aopconfig> 方式 & 使用 Annotation (@Aspect) 方式都需要引入 aspectjweaver.jar  
1.AOP术语 通知(Advice): 切面的功能被称为Advice(通知),它定义了切面是什么及何时使用。除了描述切面要完成的工作,通知还解决了何时执行这个工作的问题。它应用在某个方法被调用之前?之后?之前和之后?或是只在方法抛出一个异常时?   连接点(Joinpoint): Joinpoint是在程序执行过程中能够插入切面的一个点。这个点可以是方法被调用时、异常被抛出时、甚至字段被编辑时。切面代码可以通过这个点插入到程序的一般流程中,从而添加新的行为。   切入点(Pointcut): 切入点可以缩小切面通知的连接点的范围。如果说advice定义了切面的“什么”和“何时 ...
Global site tag (gtag.js) - Google Analytics