사용자 도구

사이트 도구


java:hibernate:configuration

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
java:hibernate:configuration [2020/05/18 16:22]
kwon37xi
java:hibernate:configuration [2022/05/16 16:28]
kwon37xi [Hibernate Configurations]
줄 1: 줄 1:
 ====== Hibernate Configurations ====== ====== Hibernate Configurations ======
-  * http://docs.jboss.org/hibernate/core/3.5/reference/en/html/session-configuration.html 
   * hibernate properties, property   * hibernate properties, property
 +  * [[https://github.com/hibernate/hibernate-orm/blob/main/hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java|org.hibernate.cfg.AvailableSettings]]
 +  * [[https://github.com/hibernate/hibernate-orm/blob/main/hibernate-core/src/main/java/org/hibernate/cfg/Environment.java|org.hibernate.cfg.Environemnt]]
 ===== hibernate.hbm2ddl.auto 프라퍼티 ===== ===== hibernate.hbm2ddl.auto 프라퍼티 =====
   * http://gyumee.egloos.com/2483659 참조.   * http://gyumee.egloos.com/2483659 참조.
줄 51: 줄 52:
  
 ===== hibernate.globally_quoted_identifiers=true ===== ===== hibernate.globally_quoted_identifiers=true =====
 +<code>
 +hibernate.globally_quoted_identifiers=true
 +hibernate.globally_quoted_identifiers_skip_column_definitions=true
 +</code>
 +
   * column, table 이름 등이 DB의 keyword 와 충돌할 때 대비하여 기본적으로 quote 시켜준다. DB별로 다른 quote 사용.   * column, table 이름 등이 DB의 keyword 와 충돌할 때 대비하여 기본적으로 quote 시켜준다. DB별로 다른 quote 사용.
 +  * 단, ''columnDefinition''에 있는 단어도 함께 escape 시켜버리는데, 이것을 방지하는게 ''hibernate.globally_quoted_identifiers_skip_column_definitions=true'' 프라퍼티이다.
   * [[https://vladmihalcea.com/escape-sql-reserved-keywords-jpa-hibernate/|How to escape SQL reserved keywords with JPA and Hibernate - Vlad Mihalcea]]   * [[https://vladmihalcea.com/escape-sql-reserved-keywords-jpa-hibernate/|How to escape SQL reserved keywords with JPA and Hibernate - Vlad Mihalcea]]
 +
 +===== hibernate.query.in_clause_parameter_padding =====
 +===== hibernate.query.plan_cache_max_size =====
 +  * [[java:hibernate:performance|Hibernate Performance Tuning]] 참조
  
java/hibernate/configuration.txt · 마지막으로 수정됨: 2023/07/03 14:53 저자 kwon37xi