문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
java:hibernate:performance [2018/10/15 10:13] kwon37xi |
java:hibernate:performance [2019/01/03 09:58] kwon37xi [autoCommit 을 꺼서 성능 향상시키기] |
||
---|---|---|---|
줄 29: | 줄 29: | ||
===== hibernate.jdbc.batch_size ===== | ===== hibernate.jdbc.batch_size ===== | ||
TBD | TBD | ||
+ | |||
+ | ===== autoCommit 을 꺼서 성능 향상시키기 ===== | ||
+ | * Connection Pool 의 '' | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * 커넥션 풀 설정의 '' | ||
+ | * '' | ||
+ | * [[springframework: | ||
+ | * [[https:// | ||
+ | * '' | ||
+ | if (!vendorProperties.containsKey(PROVIDER_DISABLES_AUTOCOMMIT)) { | ||
+ | configureProviderDisablesAutocommit(vendorProperties); | ||
+ | } | ||
+ | |||
+ | ... | ||
+ | |||
+ | if (isDataSourceAutoCommitDisabled() && !isJta()) { | ||
+ | vendorProperties.put(PROVIDER_DISABLES_AUTOCOMMIT, | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | > in Hibernate 5.2.10, we introduced the hibernate.connection.provider_disables_autocommit configuration property which tells Hibernate that the underlying JDBC Connections already disabled the auto-commit mode. | ||
+ | |||
===== Assert statement count ===== | ===== Assert statement count ===== |