File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
hibernate-core/src/main/java/org/hibernate Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 55package org .hibernate .context .spi ;
66
77import 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
1718 *
1819 * @author Gavin King
1920 */
21+ @ Incubating
2022public interface TenantSchemaMapper <T > {
2123 /**
2224 * The name of the database schema for data belonging to the tenant with the
Original file line number Diff line number Diff line change 44 */
55package org .hibernate .resource .jdbc .spi ;
66
7+ import org .hibernate .Incubating ;
78import org .hibernate .engine .jdbc .connections .spi .JdbcConnectionAccess ;
89import org .hibernate .engine .jdbc .spi .SqlExceptionHelper ;
910import 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 /**
You can’t perform that action at this time.
0 commit comments