随笔 - 782  文章 - 0  评论 - 203  阅读 - 292万
12 2013 档案
Hibernate学习笔记
摘要:1. 配置了thread 后,才可使用sf.getCurrentSession(); 2.基本用法,getCurrentSession()不用Close()    openSession() 需要 Close() teacher s = new teacher(); s.setTitle("title"); s.setName("wzh"); Configuration cfg = new AnnotationConfiguration(); SessionFactory sf = cfg.configure().buildSessionFactory(); Session session = sf.openSession(); session.beginTransaction(); session.save(s); session.getTransaction().commit(); session.cl 阅读全文
posted @ 2013-12-19 22:03 上校 阅读(223) 评论(0) 推荐(0) 编辑
eclipse ide for java ee developers 开发环境搭建(j2ee)
摘要:2011-04-03补充: 推荐另一个反编译插件--Java decompiler,提供gui和plugin两种方式。 官方网站:http://java.decompiler.free.fr/ 本人感觉,gui的方式还是很不错的,可以批量反编译并保存,可以作为插件的补充。 eclipse快捷键大全:http://www.blogjava.net/action/articles/17339.html 在此,作者号召大家能够将自己对eclipse的使用经验分享出来,或者将自己的困惑和疑问提出来,积极分享,共同成长。 阅读全文
posted @ 2013-12-03 00:04 上校 阅读(2839) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示