08 2017 档案

摘要:分页工具类PageBean package com.hao.mybos.utils; import java.util.List; import org.hibernate.criterion.DetachedCriteria; public class PageBean<T> { //当前页 pr 阅读全文
posted @ 2017-08-14 15:00 tan90丶 阅读(817) 评论(0) 推荐(0)
摘要:一、数据库准备 1.创建数据库maven create database maven character set utf8 collate utf8_general_ci; //use maven; 2.创建用户表 create table t_users( id int primary key a 阅读全文
posted @ 2017-08-11 12:22 tan90丶 阅读(603) 评论(0) 推荐(0)
摘要:异常描述: 启动Tomcat时,发生java.lang.ClassCastException: org.springframework.orm.hibernate5.support.OpenSessionInViewInterceptor cannot be cast to javax.servle 阅读全文
posted @ 2017-08-10 20:26 tan90丶 阅读(1231) 评论(0) 推荐(0)
摘要:基于Maven的ssh2整合,Struts2.3.24+Spring4.2.4+Hibernate5.0.7 完整文件 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSc 阅读全文
posted @ 2017-08-10 18:02 tan90丶 阅读(4068) 评论(0) 推荐(0)
摘要:源码下载:点我 一、数据库准备 1.创建数据库maven create database maven character set utf8 collate utf8_general_ci; //use maven; 2.创建用户表 create table t_users( id int prima 阅读全文
posted @ 2017-08-10 17:38 tan90丶 阅读(763) 评论(0) 推荐(0)