- 博客(4)
- 收藏
- 关注
原创 Hibernate 提供的<many-to-one>关联关系映射实现步骤
a. many 方(Emp)添加 one 方(Dept)的属性b. many 方配置文件(Emp.hbm.xml)中添加<many-to-one>信息c. <many-to-one>要提供 One 方的 class 名,对应的列名...
2013-11-18 16:40:23
112
原创 Hibernate主键生成方式
常用的主键生成方式有如下几种:1) identity 用于自动生成主键方式,除了 Oracle 不支持,其他数据库一般都支持(较常用)2) sequence Oracle 中使用,用序列生成 ID 主键3) native 主键生成方式如果是 native,那就看配置文件 hibernate.cfg.xml 中方言<property name="dialect"&g...
2013-11-07 17:08:36
80
easyui 开发
须将一下文件引入到页面中 <linkrel="stylesheet"type="text/css"href="easyui/themes/default/easyui.css"> <linkrel="stylesheet"type="text/css"href="easyui/themes/icon.css"&g
2013-11-04 16:58:44
80
原创 The method find(String, Object[]) is ambiguous for the type
异常描述: Multiple markers at this line - The method find(String, Object[]) is ambiguous for the type BaseDaoI - Line breakpoint:UserServiceImpl [line: 81] - combobox(String) 问题解析: 查了下,在...
2013-11-04 10:29:35
407
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人