Skip to content

Commit d14523d

Browse files
authored
Update README_zh.md
1 parent 093d9f8 commit d14523d

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

README_zh.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,18 @@
3030
* 支持MySQL、Oracle、SQL Server、H2、PostgreSQL等数据库
3131

3232
#### 实现的场景 ####
33-
1. Fetch single entity based on primary key
34-
2. Fetch list of entities based on condition
35-
3. Save new single entity and return primary key
36-
4. Batch insert multiple entities of the same type and return generated keys
37-
5. Update single existing entity - update all fields of entity at once
38-
6. Fetch many-to-one relation (Company for Department)
39-
7. Fetch one-to-many relation (Departments for Company)
40-
8. Update entities one-to-many relation (Departments in Company) - add two items, update two items and delete one item - all at once
41-
9. Complex select - construct select where conditions based on some boolean conditions + throw in some JOINs
42-
10. Execute query using JDBC simple Statement (not PreparedStatement)
43-
11. Remove single entity based on primary key
33+
34+
1. 基于主键获取单个实体
35+
2. 根据条件获取实体的列表
36+
3. 保存新的单个实体并返回主键
37+
4. 批量插入相同类型的多个实体并返回生成的主键列表
38+
5. 更新单个现有实体——同时更新所有的实体字段
39+
6. 获取多对一关系(部门的所属公司)
40+
7. 获取一对多关系(公司的部门)
41+
8. 更新实体一对多的关系(公司的部门)-增加两个项目,更新两个项目和删除一个项目-所有只需一句代码/一次操作
42+
9. 复杂的选择-构造选择的条件基于一些布尔条件+加入一些连接
43+
10. 使用JDBC简单语句(非PreparedStatement)执行查询
44+
11. 基于主键移除单个实体
4445

4546
## 为什么选择[Ebean ORM](https://ebean-orm.github.io)
4647

0 commit comments

Comments
 (0)