![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hibernate4
lyq3301867
这个作者很懒,什么都没留下…
展开
-
整合Spring4+SpringMVC4+hibernate4+druid+fastjson
之前一直使用spring3+status+hibernate3做开发,但是使用的技术,好像有点老了,于是,今天研究了下Spring4+SpringMVC4+hibernate4+druid+fastjson,现将搭建项目源码分享出来,希望对你有帮助。 pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" ...原创 2016-12-30 17:52:18 · 307 阅读 · 0 评论 -
Hibernate4 解决Clob问题,网上很多都是hibernate3
hibernate4在处理clob字段上面和hibernate3有很大的不一样今天感觉遇到了很大一个坑,但是好在解决了。解决方案如下创建类package org.moon.framework.util.clob;import org.springframework.context.ApplicationContext;import org.springframewo...原创 2017-01-05 18:46:59 · 1513 阅读 · 0 评论 -
SpringMVC自定义时间类型转换
springmvc中Controller在接收前端传递参数的时候public Map<String ,String> save(T bean) 我们一般是这样来定义接收的bean对象,其中bean对象中的时间类型,我们会定义为Date,那么在前端进行参数传递的时候,前端传递的时间如:2017-01-18是一个字符串和我们bean对象不匹配,那么就需要进行转换。现...原创 2017-01-19 10:15:47 · 201 阅读 · 0 评论