`
JamesQian
  • 浏览: 54007 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
     PCTUSED参数:当block 实际数据(block头信息和datas数据)占有的空间低于设定值时,将会被加到freelist中。譬如 PCTUSED=40.但删除数据后,剩余空间大于(1-40% )时,将会把此block移到freeList中。     PCTFREE参数:使用block时候,当有效 ...
之前的公司是互联网基本上会规避procedure这种东西,有的话也会是比较简单的实现.到了新公司全部使用procedure(原因不详,个人觉得是拍脑袋决定).ibatis2 2.1.7.597版本中的dtd有bug,会直接导致无法识别parameterMap标签下子标签resultMap!而是用比较高的版本会有jdbcType="ORACLECURSOR"无法支持的情况!后来发现使用2.3.4.726版本问题解决!开发过程中引起的异常:Check the output parameters (retrieval of output parameters failed)等类似异 ...
As title

maven web工程

  web工程结构:     <plugins>             <plugin>                 <groupId>org.apache.maven.plugins</groupId>                 <artifactId>maven-compiler-plugin</artifactId>                 <version>2.3.2</version>                 <configuration>   ...
build.xml 写道 <?xml version="1.0"?> <project name="Example Application Build" default="compile" basedir="."> <property file="build.properties" /> <target name="dir" description="Create the working directories"& ...
以前一直用,今天使用的时候忘记勾上regular expression.浪费了1个小时,因以为诫!!! 1.ctrl+F 2.写入正则表达式比如:[0-9]+. 3.勾上regular expression Notepad++使用正则去掉行首数字和句号 ^\d+.
不同于maven可以直接对IDE的支持(mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavaDocs=true),ant并不具有这样的命令.这样如果eclipse需要import ant工程需要加入两个.classPath .project文件。如下: .project <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>your_project-name</name ...
1.TOMCAT_HOME\bin\catalina.bat 2.在catalina.bat debug合适的位置加入: set CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787 3.Eclipse Remoting端口中加入8787 可以搜索"java虚拟机启动参数"获取更多知识! 其实java 远程debug的原理是利用sun jdk自带的JPDA进行调试。主要是该插件和JV ...

netstat -nao

1.netstat -nao 2.windows任务管理器选择pid 3.windows任务管理器查找相关的进程close掉
protected int[] mapColumnsToProperties(ResultSetMetaData rsmd, PropertyDescriptor[] props) throws SQLException { int cols = rsmd.getColumnCount(); int columnToProperty[] = new int[cols + 1]; Arrays.fill(columnToProperty, PROPERTY_NOT_FOUND); ...
dataSource依赖的commons-dbcp使用的是1.4的版本,而commons-pool使用的是1.0,导致 Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.pool.impl.GenericObjectPool: method <init>()V not found 这样的错!   commons-pool修改为1.4解决问题!!!!
在javaeye上看到关于注释的争论。想谈下自己的看法: 1.软件工程的主题实际上除了最重要的数据,数据字典,源代码等。还有就是详细而规范的文档。包含开发过程文档(甚至包含各次项目关键性会议的记录),维护和产品使用说明文档(通常给客户看)。 2.对于开发而言譬如写一个类时理想的状态是不需要任何注释和说明(当然可以加自己的名字和创建类的日期)。因为如果类目和方法名取得很OK的话。通常意义是不需要其他辅助的东西的。使用者只要一看到类名,方法名和默认参数名和定义。基本上就能知道如何使用了。但这往往是理想状态,很多时候业务复杂之后而且限于我们的英语的performance。能难实现,所以我们一般会整 ...
http://www.otakustay.com/browser-strategy-loading-external-resource/
 Error initializing endpoint    java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/???)????í??        at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:612)        at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)   出现这样的 ...
Oracle provides four different types of JDBC drivers, for use in different deployment scenarios. The 10.1.0 drivers can access Oracle 8.1.7 and higher. While all Oracle JDBC drivers are similar, some features apply only to JDBC OCI drivers and some apply only to the JDBC Thin driver. JDBC ...
Global site tag (gtag.js) - Google Analytics