Skip to content

Commit 7b22952

Browse files
committed
MOD JPA.md batch insert 내용 추가
1 parent 052b9a3 commit 7b22952

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎_wiki/JPA.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout : wiki
33
title : JPA
44
summary : JPA 활용에 대한 모든 것
55
date : 2018-08-28 09:32:31 +0900
6-
updated : 2020-01-28 17:04:06 +0900
6+
updated : 2020-01-30 11:09:22 +0900
77
tags : jpa
88
toc : true
99
public : true
@@ -92,3 +92,9 @@ public class LongRevisionEntity implements Serializable {
9292
9393
}
9494
```
95+
96+
## Batch Insert
97+
98+
* bulk insert 가 필요할때, JpaRepository 를 이용하면 정상적으로 안될 수 있다.
99+
* spring batch 로 writer 구현시 아래와 같이 해보면 좋을듯, (아직 직접 해보진 않음)
100+
* [Bulk and Batch imports with Spring Boot and the CrudRepository](https://www.hameister.org/SpringBootBulkImportWithCrudRepository.html)

0 commit comments

Comments
 (0)