Skip to content

Commit 949873b

Browse files
committed
HHH-19559 add appropriate @Incubating annotations
1 parent ac01280 commit 949873b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

hibernate-core/src/main/java/org/hibernate/context/spi/TenantSchemaMapper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
package org.hibernate.context.spi;
66

77
import org.checkerframework.checker.nullness.qual.NonNull;
8+
import org.hibernate.Incubating;
89

910
/**
1011
* Obtains the name of a database schema for a given tenant identifier when
@@ -17,6 +18,7 @@
1718
*
1819
* @author Gavin King
1920
*/
21+
@Incubating
2022
public interface TenantSchemaMapper<T> {
2123
/**
2224
* The name of the database schema for data belonging to the tenant with the

hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/JdbcSessionOwner.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55
package org.hibernate.resource.jdbc.spi;
66

7+
import org.hibernate.Incubating;
78
import org.hibernate.engine.jdbc.connections.spi.JdbcConnectionAccess;
89
import org.hibernate.engine.jdbc.spi.SqlExceptionHelper;
910
import org.hibernate.event.spi.EventManager;
@@ -94,6 +95,7 @@ default SqlExceptionHelper getSqlExceptionHelper() {
9495
*
9596
* @since 7.1
9697
*/
98+
@Incubating
9799
void afterObtainConnection(Connection connection) throws SQLException;
98100

99101
/**
@@ -106,6 +108,7 @@ default SqlExceptionHelper getSqlExceptionHelper() {
106108
*
107109
* @since 7.1
108110
*/
111+
@Incubating
109112
void beforeReleaseConnection(Connection connection) throws SQLException;
110113

111114
/**

0 commit comments

Comments
 (0)