spring mvc+mybatis+多数据源切换 选取oracle,mysql作为例子切换数据源。oracle为默认数据源,在测试的action中,进行mysql和oracle的动态切换。 web.xml applicationContext.xml 配置 parentDataSource 的父b ...
分类:
编程语言 时间:
2016-11-30 14:55:50
阅读次数:
369
以下代码使用ApiDemos-debug.apk进行测试 用到的定位方式: Xpath: WebElement el = driver.findElement(By.xpath(".//*[@text='Animation']")); ClassName: List<WebElement> els ...
分类:
移动开发 时间:
2016-11-30 11:12:42
阅读次数:
321
1 Configuration 配置对象 2 SessionFactory工厂 1)SessionFactory 相当于java web连接池,用于管理所有session 2)获得方式:config.buildSessionFactory(); 3)sessionFactory hibernate缓 ...
In this lesson, you will learn how to use the Formidable nodejs-dashboard event loop delay to identify expensive operations in your code. An example a ...
分类:
Web程序 时间:
2016-11-29 22:40:17
阅读次数:
223
根据主键删除(推荐) 根据条件删除(推荐) 闭包删除 根据数据库类的查询条件删除 ...
分类:
其他好文 时间:
2016-11-29 22:23:15
阅读次数:
155
http://vim.wikia.com/wiki/VimTip432 command! Copyfile let @*=substitute(expand("%:p"), '/', '\', 'g')command! Copyfile let @+=substitute(expand("%:p") ...
in this passage, we slove the problem about Mysql_connect. first, let' see an example: parameters server The MySQL server. It can also include a port ...
分类:
数据库 时间:
2016-11-29 17:15:18
阅读次数:
219
动画事件 .hide(option) 动画隐藏 会保存元素的原始属性值 $("#a2").hide({ duration: 3000, complete: function() { alert('执行3000ms动画完毕') } }) .show(option)动画显示 show与hide方法是修改 ...
分类:
Web程序 时间:
2016-11-29 14:41:06
阅读次数:
236
本文摘自ECMAScript6入门,转载请注明出处。 一、Module简介 ES6的Class只是面向对象编程的语法糖,升级了ES5的构造函数的原型链继承的写法,并没有解决模块化问题。Module功能就是为了解决这个问题而提出的。 历史上,JavaScript一直没有模块(module)体系,无法将 ...
分类:
其他好文 时间:
2016-11-29 14:21:26
阅读次数:
258