首先创建maven项目
1.maven添加各种依赖包
c3p0
c3p0
0.9.1.2
org.mybatis
mybatis-spring
1.2.2
org.mybatis
mybatis
3.2.2
org.springframework
spring-...
分类:
编程语言 时间:
2015-04-17 14:00:42
阅读次数:
276
最近项目当中使用到MyBatis 动态语句生成的功能,我使用的是sqlBuilder,话不多说,直接上代码,StockMarketProvider.java:public String selectByStockIdSql(){ BEGIN(); SELECT("*");...
分类:
数据库 时间:
2015-04-17 09:31:10
阅读次数:
314
iBATIS一词来源于“internet”和“abatis”的组合,是一个由Clinton Begin在2002年发起的开放源代码项目。于2010年6月16号被谷歌托管,改名为MyBatis。是一个基于SQL映射支持Java和·NET的持久层框架。 iBATIS提供的持久层框架包括SQL Ma...
分类:
其他好文 时间:
2015-04-16 23:36:33
阅读次数:
213
新在学习Spring3.0,AngularJS和Bootstrap时,一直在考虑如果把这三者结合起来。今天在尝试的过程中,遇到了拦路虎。No mapping found for HTTP request with URI [/springmvc/js/bootstrap.min.js]web.xml...
分类:
移动开发 时间:
2015-04-16 21:41:32
阅读次数:
141
mybatis配置:mybatis-config.xml ...
分类:
编程语言 时间:
2015-04-16 21:31:26
阅读次数:
155
mapper.xml:delete from where purchase_apply_id = #{purchaseApplyId}org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.r....
分类:
移动开发 时间:
2015-04-16 21:26:53
阅读次数:
244
DELETE FROM sqm_product_ctq_current whereguidin#{idItem}sqm_product_ctq_current 表名guid 字段名collection里表示类型,这里是array,还可以是listidItem不用管,相当于一个变量这个是写在xxxMa...
分类:
其他好文 时间:
2015-04-16 19:16:35
阅读次数:
114
先上git的项目地址:?http://git.oschina.net/alexgaoyh/MutiModule-parent ????最近在学习使用Maven,在学习使用Maven多模块项目的过程中,打算整合spring mybatis进行项目练手,模块的划分刚开始很纠...
分类:
其他好文 时间:
2015-04-16 14:35:51
阅读次数:
160
A代码生成器(开发利器);B阿里数据库连接池druid;C安全权限框架shiro;Dehcache自定义二级缓存(后续会加入Activiti5工作流)系统为主流的springmvc+mybaits3.2版本,提供maven版本和非maven版本,另免费赠送hibernate版本一套(垮数据库)1.有oracle、msyql、spring3.0、spring4.0一..
分类:
编程语言 时间:
2015-04-16 14:29:17
阅读次数:
155
A代码生成器(开发利器); B阿里数据库连接池druid;C安全权限框架shiro; Dehcache 自定义二级缓存 (后续会加入Activiti5 工作流)系统为主流的springmvc+mybaits 3.2版本 ,提供maven版本和非maven版本,另免费赠送hibernate版本一套(垮...
分类:
编程语言 时间:
2015-04-16 14:04:36
阅读次数:
146