上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: 错误的传值 没有插件的传值 <input type="text" name="createTime" value="<fmt:formatDate value='${bean.createTime}'/>" / 效果图只是一个文本框 有插件的传值 <fmt:formatDate value="${b 阅读全文
posted @ 2016-10-27 21:00 涤新云 阅读(2681) 评论(0) 推荐(0) 编辑
摘要: 【异常提示】 TransientObjectException: object references an unsaved transient instance -save the transient instance before flushing: com.jspxcms.core.domain 阅读全文
posted @ 2016-10-27 18:25 涤新云 阅读(42072) 评论(0) 推荐(0) 编辑
摘要: 效果图 存储buy的tab跳转js代码 html代码 用于修复bug的简单方法 阅读全文
posted @ 2016-10-27 16:43 涤新云 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 当无法找到默认图片时,onerror="javascript:this.src='images/defaultUpload.png';"容易导致死循环报错 阅读全文
posted @ 2016-10-26 19:10 涤新云 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 资料来源网址:http://www.cnblogs.com/hawell/p/SpringDataJpa.html Repository(几个常用的例子) service层几个例子 Controller层(主要是分页查询) 阅读全文
posted @ 2016-10-26 16:22 涤新云 阅读(7774) 评论(0) 推荐(0) 编辑
摘要: 并非通用, 根据自己实际情况来 不能删除前的dao方法 public void delete(CmsProjectNew bean); 可以删除后的dao方法 @Modifying @Query("delete CmsProjectNew bean where bean.id in (?1)") p 阅读全文
posted @ 2016-10-26 16:15 涤新云 阅读(4598) 评论(0) 推荐(0) 编辑
摘要: @Query("delete CmsProjectMember bean where bean.cmsProjectNew.id in (?1)") public void deleteByProjectId(Collection<Integer> ids); 修改为: @Modifying @Qu 阅读全文
posted @ 2016-10-26 15:29 涤新云 阅读(2713) 评论(0) 推荐(0) 编辑
摘要: 自己的项目没有测通 可能是自己项目原因——因为自己项目中级联关系的类涉及太多 自己的项目【这样的配置报错】 @OneToMany(fetch=FetchType.LAZY,cascade = { CascadeType.REMOVE }, mappedBy="scProjectTecApply") 阅读全文
posted @ 2016-10-26 11:29 涤新云 阅读(4841) 评论(0) 推荐(0) 编辑
摘要: 下面把项目中的用户类中有个:一对一 一对多 多对多的注解对应关系列取出来用于学习 说明:项目运行正常 阅读全文
posted @ 2016-10-25 20:14 涤新云 阅读(7013) 评论(0) 推荐(0) 编辑
摘要: 【项目页面效果】 【前台jsp页面】 jsp的js代码 jsp的html代码 说明: 【后台代码】 第一个ajax的后台方法 该方法用于上传图片并返回图片url 第二个ajax的后台方法 该方法用于保存数据到保存图片附件的单表数据库 并返回每条记录 阅读全文
posted @ 2016-10-25 17:25 涤新云 阅读(810) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页