-
1. 동적 프록시로 동작하기 때문에 코틀린의 철학과 어긋나는 면이 몇 개 있다.
- 코틀린의 기본 클래스는 final인데, 프록시 객체를 만들기 위해선 상속을 받아야 한다. 즉, open을 매번 붙여줘야 함 (플러그인으로 어느정도 해결)
- val로 프로퍼티를 read-only하게 만들면 엔티티를 수정시킬 수 없음 (제일 중요) 그렇다고 var로…
-
**Describe the bug**
For java.time.Duration the default hibernate duration type will not be used and instead the PostgreSQLIntervalType gets chosen. Unfortunately the SQL Type code is not the expecte…
-
It would probably be useful in the cases where the data model is only to be used for APIs that the database related JPA annotations were not added so that there was no "accidental" database creation. …
-
@PostMapping
public String processDesign(
@Valid Taco taco, Errors errors,
@ModelAttribute Order order) {
System.out.println("you are in posting"+ taco.getName());
…
-
### spring.jpa 관련 프로퍼티
* `spring.jpa.database` : 타겟 데이터베이스로 코드에선 `Enum`을 관리된다. 디폴트는 자동으로 감지된다.
* `spring.jpa.database-platform` : 타겟 데이터베이스 이름, `spring.jpa.database`는 Enum으로 관리되기 때문에 Enum에 원하는 값…
-
http://stackoverflow.com/q/11881548/3697757
-
## 자동생성 PK에 대한 의문
자동생성 PK를 지니는 엔티티의 경우, 아래 세가지 내용이 서로 충돌합니다.
* JPA는 영속화된 객체를 DB에 바로 insert 하지 않으므로서(쓰기 지연) 성능 이득을 제공한다고 합니다.
* 그런데 영속 객체는 반드시 id를 지녀야합니다.
* 자동생성 PK처럼 DB에 id 생성을 위임한 경우에는, 컨텍스트에 …
-
```
Perhaps a JPA implementation so that multiverse can be used as a JPA
resource would be cool.
```
Original issue reported on code.google.com by `alarmnum...@gmail.com` on 20 May 2009 at 9:08
-
Hey, this is more of an request than a bug. I'm also done most of it in a fork so I'm not sure if you want me to clean that up and then pull request or if you want to look into it. But essentially I…
-
public Page list(int start, int lenght, String sort, String order){
int page =0;
if (start > 0 ){
page = start /lenght;
}
Pageable pageRequest;
if (StringUtils.isEmpty(sort)){
…