上一页 1 ··· 3 4 5 6 7
摘要: hibernate_jpa注解 目前最新版的hibernate,5.2,底层整合了jpa,用idea的hibernate工具生成实体时,实体包含了注解的配置文件,缺一不可 如,用户类实体,生成之后是这样子的 cascade属性的可能值有 all: 所有情况下均进行关联操作,即save-update和 阅读全文
posted @ 2019-06-13 17:21 soldier_cnblogs 阅读(360) 评论(0) 推荐(0)
摘要: 下载并导入项目【poi.3.17.jar】 strust.xml <action name="returnLate_*" class="com.stureturnlate.moudels.biz.action.return_late.ReturnLateAction" method="{1}"> < 阅读全文
posted @ 2019-06-11 09:39 soldier_cnblogs 阅读(428) 评论(0) 推荐(0)
摘要: 一、新建项目 二、见项目根路径下的lib下的jar移动到WEB-INF下 三、配置文件 <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http 阅读全文
posted @ 2019-06-01 14:11 soldier_cnblogs 阅读(1524) 评论(0) 推荐(0)
摘要: 类的反射 xml文件的解析 .properties||.xml配置文件的创建及读取内容 //创建对象 Properties properties = new Properties(); //存储 properties.setProperty("driver", "com.mysql.jdbc.Dri 阅读全文
posted @ 2019-04-05 12:29 soldier_cnblogs 阅读(136) 评论(0) 推荐(0)
摘要: 二十三种设计模式 一、单例设计模式 饿汉式: 二、工厂设计模式 三、抽象工厂模式 四、建筑者模式 五、原型模式 六、适配器模式 七、桥接模式 八、装饰模式 九、组合模式 十、外观模式 十一、享元模式 十二、代理模式 十三、模版方法模式 十四、命令模式 十五、迭代器模式 十六、观察着模式 十七、中介者 阅读全文
posted @ 2019-04-04 11:20 soldier_cnblogs 阅读(287) 评论(0) 推荐(0)
摘要: action类 这里主要看业务方法中表单路径中的(isClose = "1";return resUri;) 1 public class MaterialsAction extends BaseAction implements ModelDriven<Materials>{ 2 /** 3 * 阅读全文
posted @ 2019-03-24 21:08 soldier_cnblogs 阅读(245) 评论(0) 推荐(0)
摘要: $(function () { $("#unitFrom").validate({ errorClass:"errorInfo", //默认为错误的样式类为:error errorElement:"em", focusInvalid: false, //当为false时,验证无效时,没有焦点响应 o 阅读全文
posted @ 2019-03-17 12:06 soldier_cnblogs 阅读(249) 评论(0) 推荐(0)
摘要: 这是从我CSDN博客直接拿来的图片废话不多说,直接上代码: 阅读全文
posted @ 2019-03-16 15:59 soldier_cnblogs 阅读(1645) 评论(0) 推荐(0)
摘要: 1、问题描述: 本人idea下拉项目,结果impl里的类满屏的红色 2、解决方法 阅读全文
posted @ 2019-03-15 22:31 soldier_cnblogs 阅读(1015) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7