随笔分类 -  mybatis

摘要:比较傻的问题,没有加上@Component注解。。。 阅读全文
posted @ 2022-06-22 18:29 Jerryi224 阅读(46) 评论(0) 推荐(0)
摘要:如果数据库是时间类型而且你传的值也是时间类型,可以直接比较。 第一种方法: 把转义字符">"和"<"替换掉. <if test="startTime != null "> AND order_date &gt;= #{startTime,jdbcType=DATE} </if><if test="e 阅读全文
posted @ 2019-07-24 16:26 Jerryi224 阅读(19689) 评论(0) 推荐(0)
摘要:官方文档 : http://www.mchange.com/projects/c3p0/index.html <c3p0-config><default-config><!--当连接池中的连接耗尽的时候c3p0一次同时获取的连接数。Default: 3 --><property name="acqu 阅读全文
posted @ 2016-12-20 18:45 Jerryi224 阅读(201) 评论(0) 推荐(0)
摘要:这遍文章转过来做个笔记,时不时看看。 转:http://blog.csdn.net/nethibernate/article/details/6658855 Exception如下: [html] view plaincopy org.hibernate.util.JDBCExceptionRepo 阅读全文
posted @ 2016-12-20 18:44 Jerryi224 阅读(2944) 评论(0) 推荐(1)