`
alyouge
  • 浏览: 190632 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论
文章列表
新版本的idea不编译src的java目录的xml文件,必须放在resource 目录下才行,会造成mybatis 无法正常运行。需要注意!
public byte[] pressImage(String waterImgPath, byte[] targetImg) throws Exception { try { InputStream is = new ByteArrayInputStream(targetImg); Image src = ImageIO.read(is); int width = src.getWidth(null); int height = src.getHeight(null); ...
upstream tomcat_server { server 127.0.0.1:8080; } server { listen 80; server_name localhost; root D:\work\my-project; location / { index index.jsp; } location /j_spring_security_check { proxy_set_header Host $host; ...
例如有两个用户 一个 A对应表空间A    一个B对应表空间B 1.首先用A 导出dmp; 2.给B赋予DBA权限,然后执行: revoke unlimited tablespace from B; 3. alter user B  quota 0 on A; 4. alter user B quota unlimited on B; 5. 执行导入 imp xxx/xxx@orcl_xxx.xxx.xxx.xxx fromuser=A touser=B file=xxx.dmp 如果表中包含lob  则不能导入,会报1536 异常。 6. 如果异常执行 alter user B ...
hibernate 分页BUG,使用order a,b 在oracle 10g中可能出现条数不够
hibernate 查询char(4) 只能查询到第一个字符的问题 这是使用sqlQuery 出现的错误,必须使用 cast(lkbh as varchar2(4))
是因为没有 socket.close();然后程序执行完了!
今天做socket 连接的时候发现客户端执行到in.readLine()就卡死了,没有报错误出来,上网google 发现 服务端out.print();方法这里出错了,如果要使用in.readLine() 那么服务器端就要使用 out.println(); 一个ln引发的问题啊! 加油!
org.dom4j.InvalidXPathException: Invalid XPath expression: '//head'. Caused by: org/jaxen/dom4j/Dom4jXPath 主要是jaxen版本的问题,换成1.1.1就OK 不要使用FULL的版本
  (function($){ $.fn.validationEngineLanguage = function(){ }; $.validationEngineLanguage = { newLang: function(){ $.validationEngineLanguage.allRules = { "required": { // Add your regex rules here, you can take telephone as an example ...
在工程WEB-INF 下新建weblogic.xml 内容如下:   <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 6.1//EN" "http://www.bea.com/servers/wls610/dtd/weblogic-web-jar.dtd"> <weblogic-we ...
[align=left; border-left-width: 5px; border-left-style: solid; border-left-color: #8b97a1; text-indent: 8px;]org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken[/align] [align=left;]2010-01-06 14:37[/align] 解决办法:         org.hibernate.hql.classic.ClassicQueryTrans ...
记录一个formValidator.1.7的BUG,如果input   id="p.name" 那么失去焦点时候错误提示还在,就是id里面不要带“.”
$("#select option:nth-child(1)").attr("selected",true);
解决异常org.hibernate.exception.ConstraintViolationException: could not delete:   org.hibernate.exception.ConstraintViolationException: could not delete: [org.jbpm.pvm.internal.model.ExecutionImpl#1]   连接Mysql5时,jBPM4运行到 End结点时的错误,把 hibernate.dialect 改为 org.hibernate.dialect.MySQLInnoDB ...
Global site tag (gtag.js) - Google Analytics