发布时间:2015-04-23 11:46:58
As an example, let's assume the following two tables, which we'll call tableAand tableB.id name id title-- ---- -- ----1 Kenny 1 Analyst1 Rob 2 Sales4 Molly 3 Manager1 Greg2 JohnIf we wanted to get everyone that's an Analyst, we could do th.........【阅读全文】
发布时间:2015-04-21 16:54:07
http://blog.csdn.net/lovejavaydj/article/details/7635848试验方法: 写一个单元测试,调用一个service层方法(发生对数据库进行写操作的方法--insert、update、delete)即可. 试验过程: .........【阅读全文】
发布时间:2015-04-21 16:09:52
先说一下我的目录结构1、maven项目;2、spring applicationContext.xml放在resources目录下3、transactionManager datasource定义在applicationContext.xml中,在web.xml中org.springframework.web.context.ContextLoaderListener加载4、spring-mvc-servlet.xml中只定义了与web controller,json转换的bean;.........【阅读全文】