摘要: 【Hibernate】Hibernate的集合映射与sort、order-by属性 常用集合Set、List、Map,相信大家都很熟悉,面试中也会经常问。Set和List都继承了Collection接口,Set是无序不可重复的,不可以存储相同的元素;而Lsit是顺序存储的,可存储重复元素。Map不是 阅读全文
posted @ 2016-10-16 20:15 starskyhu 阅读(3770) 评论(0) 推荐(0)
摘要: 1,Configuration 配置 获取config配置文件的方法 Configuration cfg = new Configuration(); cfg.下面的方法 configure() configure(String resource) configure() configure(Str 阅读全文
posted @ 2016-10-16 20:08 starskyhu 阅读(314) 评论(0) 推荐(0)
摘要: 方法一:打开Window Preferences General Startup and Shutdown,勾选Prompt for workspace on startup 选项,再次登录是便会弹出Workspace launcher对话框; 方法二:打开eclipse/MyEclipse安装目录 阅读全文
posted @ 2016-10-16 11:56 starskyhu 阅读(1959) 评论(0) 推荐(0)