Skip to content

Commit d8098d1

Browse files
DavideDSanne
authored andcommitted
[hibernate#997] Remove duplicated close method in the Session
It's already defined in the Closable interface
1 parent 658689e commit d8098d1

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

hibernate-reactive-core/src/main/java/org/hibernate/reactive/mutiny/Mutiny.java

-6
Original file line numberDiff line numberDiff line change
@@ -1099,12 +1099,6 @@ <R> Query<R> createNativeQuery(String queryString, ResultSetMapping<R> resultSet
10991099
*/
11001100
Transaction currentTransaction();
11011101

1102-
/**
1103-
* Close the reactive session and release the underlying database
1104-
* connection.
1105-
*/
1106-
Uni<Void> close();
1107-
11081102
/**
11091103
* @return false if {@link #close()} has been called
11101104
*/

hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java

-6
Original file line numberDiff line numberDiff line change
@@ -1100,12 +1100,6 @@ <R> Query<R> createNativeQuery(String queryString,
11001100
*/
11011101
Transaction currentTransaction();
11021102

1103-
/**
1104-
* Close the reactive session and release the underlying database
1105-
* connection.
1106-
*/
1107-
CompletionStage<Void> close();
1108-
11091103
/**
11101104
* @return false if {@link #close()} has been called
11111105
*/

0 commit comments

Comments
 (0)