摘要: 1、spring加载等价于 classpath:jdbc.properties 2、PropertiesInputStream inputstream = getClass().getResourceAsStream("/key.properties");properties.load(... 阅读全文
posted @ 2015-05-28 17:05 W&L 阅读(115) 评论(0) 推荐(0)
摘要: 1、DMCP连接池 2、C3P0连接池优于DMCP 3、JDBC连接 阅读全文
posted @ 2015-05-28 16:55 W&L 阅读(223) 评论(0) 推荐(0)
摘要: 1、修改运行空间/home/mw/weblogic/Oracle/Middleware/user_projects/domains/base_domain/bin/setDomainEnv.shif [ "${JAVA_VENDOR}" = "Sun" ] ; then WLS_MEM_ARGS_6... 阅读全文
posted @ 2015-05-28 16:20 W&L 阅读(609) 评论(0) 推荐(0)
摘要: 1、获取驱动jar 从db2安装目录下获取,db2jcc4.jar(weblogic)(websphere需要db2jcc.jar、db2jcc_license_cu.jar)2、将驱动添加到CLASSPATH下添加到CLASSPATH下,websphere控制台直接设置变量进行指定jar路径,而w... 阅读全文
posted @ 2015-05-28 16:01 W&L 阅读(1315) 评论(0) 推荐(0)