문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
java:hibernate:configuration [2020/05/18 16:23] kwon37xi |
java:hibernate:configuration [2023/07/03 14:53] kwon37xi [hibernate.query.fail_on_pagination_over_collection_fetch] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Hibernate Configurations ====== | ====== Hibernate Configurations ====== | ||
- | * http:// | ||
* hibernate properties, property | * hibernate properties, property | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
===== hibernate.hbm2ddl.auto 프라퍼티 ===== | ===== hibernate.hbm2ddl.auto 프라퍼티 ===== | ||
* http:// | * http:// | ||
줄 51: | 줄 52: | ||
===== hibernate.globally_quoted_identifiers=true ===== | ===== hibernate.globally_quoted_identifiers=true ===== | ||
+ | < | ||
+ | hibernate.globally_quoted_identifiers=true | ||
+ | hibernate.globally_quoted_identifiers_skip_column_definitions=true | ||
+ | </ | ||
+ | |||
* column, table 이름 등이 DB의 keyword 와 충돌할 때 대비하여 기본적으로 quote 시켜준다. DB별로 다른 quote 사용. | * column, table 이름 등이 DB의 keyword 와 충돌할 때 대비하여 기본적으로 quote 시켜준다. DB별로 다른 quote 사용. | ||
+ | * 단, '' | ||
* [[https:// | * [[https:// | ||
줄 58: | 줄 65: | ||
* [[java: | * [[java: | ||
+ | ===== hibernate.query.fail_on_pagination_over_collection_fetch ===== | ||
+ | * [[https:// | ||
+ | * '' | ||
+ | * **To-Many** 관계를 | ||
+ | * 이는 심각한 메모리 문제, 성능 저하를 일으키게 된다. | ||
+ | * Hibernate 은 이 '' | ||
+ | * '' | ||
+ | * 항상 활성화하고 미리 에러를 잡는게 낫다. | ||
+ | |||
+ | < | ||
+ | hibernate.query.fail_on_pagination_over_collection_fetch=true | ||
+ | </ |