码迷,mamicode.com
首页 >  
搜索关键字:mybatis    ( 14182个结果
springboot之mybatis别名的设置
mybatis别名设置 在具体的mapper.xml文件中,定义很多的statement,statement需要parameterType指定输入参数的类型、需要resultType指定输出结果的映射类型。 一.mybatis默认支持别名 别名 映射的类型 _byte byte _long long ...
分类:编程语言   时间:2017-06-20 18:10:53    阅读次数:2836
mybatis学习笔记
&lt; < 小于号 &gt; > 大于号 &amp; & 和 &apos; ’ 单引号 &quot; " 双引号 ...
分类:其他好文   时间:2017-06-20 17:57:11    阅读次数:101
springBoot(12):集成Druid
一、添加依赖<!--mybatis-开始--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.2.0</version> </dependency> <dependency> <..
分类:编程语言   时间:2017-06-20 14:42:52    阅读次数:623
SSM框架整合
一.mybatis-spring.xml中配置: 1>.<!--配置扫描包 --> <context:component-scan base-package="com.bd"></context:component-scan> 2>.配置数据源; <bean id="mydataSource" cl ...
分类:其他好文   时间:2017-06-20 13:41:26    阅读次数:175
mybatis插件
1. Interceptor 就是个接口,供其它插件实现这个接口有三个方法 Object intercept(Invocation invocation)throws Throwable; 传入一个Invocation 对象,我猜应该是指定拦截具体某个target的某个方法 这里面应该写具体的拦截策 ...
分类:其他好文   时间:2017-06-20 11:36:02    阅读次数:129
【精华】经典企业分布式框架Maven Springmvc mybatis,Dubbo ZooKeeper,Redis,FastDFS,ActiveMQ
分布式 分布式服务:Dubbo+Zookeeper+Proxy+Restful 分布式消息中间件:KafKa+Flume+Zookeeper 分布式缓存:Redis 分布式文件:FastDFS 负载均衡:Keepalived+Nginx+Proxy(三重负载) 欢迎大家一起学习研究相关... ...
分类:编程语言   时间:2017-06-19 15:16:41    阅读次数:415
mybatis 执行传入的任意sql语句
dao类 mapper.xml ...
分类:数据库   时间:2017-06-19 13:17:00    阅读次数:688
mybatis mapper xml文件配置resultmap时,id行和result行有什么区别?
mybatis mapper xml文件配置resultmap时,id行和result行有什么区别? <resultMap id = "CashInvoiceMap" type="com.dfire.soa.invoice.bo.Invoice"> <id column="id" property= ...
分类:移动开发   时间:2017-06-19 13:15:08    阅读次数:1936
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!