java
文章平均质量分 54
lxy0101
我愿脚踏实地、保持理想、一步一步奋斗到底!
展开
-
打印HttpServletRequest
打印HttpServletRequest原创 2016-02-03 11:52:46 · 3844 阅读 · 0 评论 -
hibernate没有保存时却自动更新表
问题描述:使用hibernate时,在修改内容后,就算没有调用save,也会自动更新新数据库。目前发现的解决办法,在读取bean时,使用游离或副本对象1. 使用副本或者clone对象BeanUtils.copyProperties(Task,TaskService.get(id)); 2. session.evict(superviseTask);将这个对象变成游离对象:p原创 2016-03-22 13:28:58 · 1068 阅读 · 0 评论 -
将postData数据转换为Hashtable<String, String[]>
1. 读取postData数据 /** * * getPostData:(读取postData数据). * * @author * @param req ServletRequest * @return String * @since JDK 1.6 */ public static Stri原创 2016-04-11 17:07:15 · 660 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.m
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.messageinterpolation.InterpolationTerm原创 2016-05-10 17:42:17 · 9337 阅读 · 1 评论 -
ofbiz16.11环境搭建
ofbiz16.11环境搭建,以gradlew方式原创 2017-02-07 22:29:37 · 5643 阅读 · 5 评论 -
More than one TaskScheduler and/or ScheduledExecutorService exist within the context
错误:spring netty 注解多个NioEventLoopGroup bean时,报java.lang.IllegalStateException: More than one TaskScheduler and/or ScheduledExecutorService exist within the context. Remove all but one of the beans; or implement the SchedulingConfigurer interface and call原创 2017-05-05 16:41:14 · 3413 阅读 · 0 评论