![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springMVC
文章平均质量分 53
qinyuanyuan123
这个作者很懒,什么都没留下…
展开
-
springMVC中的实体映射以及两表关联时的映射
例1:(多对一)@Column(name = "VISIT_ID") (这是本表的一个字段)private Long visitId;@ManyToOne(fetch = FetchType.EAGER)@JoinColumn(name = "VISIT_ID", updatable = false, insertable = false) //默认和VisitApp原创 2015-04-27 10:09:20 · 4844 阅读 · 0 评论 -
退出登陆的总结
1 设置session (退出)public abstract class WebContextUtils { public static HttpSession getNewSession(HttpServletRequest request, HttpServletResponse response) {HttpSession session = request原创 2015-05-11 10:04:18 · 378 阅读 · 0 评论 -
springMVC中的超链接传值与后台接受
一 超链接传值 二 Controller接受信息@RequestMapping("/detailData/{customerId}") public String toDetail(Model model,PagingVO page,OrderDetailViewVO orderVO,@PathVariable("custome原创 2015-06-16 14:38:18 · 6584 阅读 · 0 评论