Package org.hibernate.id.enhanced
Interface AccessCallback
-
public interface AccessCallbackContract for providing callback access to aDatabaseStructure, typically from theOptimizer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegralDataTypeHoldergetNextValue()Retrieve the next value from the underlying source.java.lang.StringgetTenantIdentifier()Obtain the tenant identifier (multi-tenancy), if one, associated with this callback.
-
-
-
Method Detail
-
getNextValue
IntegralDataTypeHolder getNextValue()
Retrieve the next value from the underlying source.- Returns:
- The next value.
-
getTenantIdentifier
java.lang.String getTenantIdentifier()
Obtain the tenant identifier (multi-tenancy), if one, associated with this callback.- Returns:
- The tenant identifier
-
-