`
cydhang
  • 浏览: 5393 次
  • 来自: ...
文章分类
社区版块
存档分类
最新评论
文章列表
现象: local db的查询速度快, 通过dblink速度非常慢。 使用SQL工具查询,第一次速度慢,而后反复执行速度很快。   解决: 主db和外部db之间有防火墙等问题,造成第一次连接DBLINK耗时长。
ClassPool pool = ClassPool.getDefault(); CtClass cc = pool.get("com.text.TestClass"); CtMethod method = cc.getDeclaredMethod("main"); method.setBody("System.out.println(\"Hello,world.\")"); cc.writeFile("bin/");  
错误: Exception in thread "main" org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect at org.dom4j.io.SAXReader.read(SAXReader.java:484) at org.dom4j.io.SAXReader.read(SAXReader.java:321) at ValidationTest.validate(ValidationTest.java: ...
oracle 11g 开始默认大小写敏感,需要修改数据库设置。 相关命令如下。 SQL> show parameter sec_case_sensitive_logon; NAME                                 TYPE        VALUE ------------------------------------ ----------- --------------------- sec_case_sensitive_logon             boolean     TRUE SQL> alter system set sec_ ...
Global site tag (gtag.js) - Google Analytics