摘要:
注意:文件名不能有中文字符,不然不能自动生成找到MyBatisGenerator.rar\MyBatisGenerator\eclipse里的features和plugins文件,把这两个文件复制到MyEclipse安装目录下dropins包里.重新打开MyEclipse选中项目右键New→Othe... 阅读全文
posted @ 2014-11-22 09:31
﹏℡幸福?
阅读(521)
评论(0)
推荐(0)
摘要:
创建WebProject之后先把mybatis-3.2.2.zip里的mybatis-3.2.2.jar包和lib里的asm-3.3.1.jar、cglib-2.2.2.jar、commons-logging-1.1.1.jar、javassist-3.17.1-GA.jar、log4j-1.2.1... 阅读全文
posted @ 2014-11-22 09:25
﹏℡幸福?
阅读(441)
评论(0)
推荐(0)
摘要:
首先找到配置EHCahe二级缓存需要添加的jar包hibernate-release-4.1.9.Final→lib→optional→ehcache→下的ehcache-core-2.4.3.jar和hibernate-ehcache-4.1.9.Final.jar还有slf4j-api-1.6.... 阅读全文
posted @ 2014-11-22 08:58
﹏℡幸福?
阅读(134)
评论(0)
推荐(0)
摘要:
//反转维护@Testpublicvoidtest4(){Sessionses=newConfiguration().configure().buildSessionFactory().openSession();Deptdept=newDept();dept.setDname("shenpeng"... 阅读全文
posted @ 2014-11-22 08:49
﹏℡幸福?
阅读(215)
评论(0)
推荐(0)
浙公网安备 33010602011771号