File tree Expand file tree Collapse file tree 2 files changed +2
-58
lines changed
spring-orm/src/main/java/org/springframework/orm/hibernate5 Expand file tree Collapse file tree 2 files changed +2
-58
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -771,10 +771,9 @@ protected void doCleanupAfterCompletion(Object transaction) {
771
771
/**
772
772
* Disconnect a pre-existing Hibernate Session on transaction completion,
773
773
* returning its database connection but preserving its entity state.
774
- * <p>The default implementation calls the equivalent of {@link Session# disconnect()}.
775
- * Subclasses may override this with a no-op or with fine-tuned disconnection logic.
774
+ * <p>The default implementation triggers a manual disconnect. Subclasses
775
+ * may override this with a no-op or with fine-tuned disconnection logic.
776
776
* @param session the Hibernate Session to disconnect
777
- * @see Session#disconnect()
778
777
*/
779
778
protected void disconnectOnCompletion (Session session ) {
780
779
if (session instanceof SessionImplementor sessionImpl ) {
You can’t perform that action at this time.
0 commit comments