Skip to content

Commit 00f08a5

Browse files
committed
HHH-19708 add missing @Incubating annotations
1 parent 7b2b7d8 commit 00f08a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/spi/MultiTenantConnectionProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import java.sql.Connection;
88
import java.sql.SQLException;
99

10+
import org.hibernate.Incubating;
1011
import org.hibernate.dialect.Dialect;
1112
import org.hibernate.engine.jdbc.connections.internal.DatabaseConnectionInfoImpl;
1213
import org.hibernate.service.Service;
@@ -74,6 +75,7 @@ public interface MultiTenantConnectionProvider<T> extends Service, Wrapped {
7475
*
7576
* @since 7.2
7677
*/
78+
@Incubating
7779
default Connection getReadOnlyConnection(T tenantIdentifier)
7880
throws SQLException {
7981
throw new UnsupportedOperationException( "No read-only replica is available" );
@@ -101,6 +103,7 @@ default Connection getReadOnlyConnection(T tenantIdentifier)
101103
*
102104
* @since 7.2
103105
*/
106+
@Incubating
104107
default void releaseReadOnlyConnection(T tenantIdentifier, Connection connection)
105108
throws SQLException {
106109
throw new UnsupportedOperationException( "No read-only replica is available" );

0 commit comments

Comments
 (0)