随笔分类 - mybatis
摘要:比较傻的问题,没有加上@Component注解。。。
阅读全文
摘要:如果数据库是时间类型而且你传的值也是时间类型,可以直接比较。 第一种方法: 把转义字符">"和"<"替换掉. <if test="startTime != null "> AND order_date >= #{startTime,jdbcType=DATE} </if><if test="e
阅读全文
摘要:官方文档 : http://www.mchange.com/projects/c3p0/index.html <c3p0-config><default-config><!--当连接池中的连接耗尽的时候c3p0一次同时获取的连接数。Default: 3 --><property name="acqu
阅读全文
摘要:这遍文章转过来做个笔记,时不时看看。 转:http://blog.csdn.net/nethibernate/article/details/6658855 Exception如下: [html] view plaincopy org.hibernate.util.JDBCExceptionRepo
阅读全文
浙公网安备 33010602011771号