Package org.hibernate.id.enhanced
Interface AccessCallback
public interface AccessCallback
Contract for providing callback access to a
DatabaseStructure
,
typically from the Optimizer
.-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the next value from the underlying source.Obtain the tenant identifier (multi-tenancy), if one, associated with this callback.
-
Method Details
-
getNextValue
IntegralDataTypeHolder getNextValue()Retrieve the next value from the underlying source.- Returns:
- The next value.
-
getTenantIdentifier
String getTenantIdentifier()Obtain the tenant identifier (multi-tenancy), if one, associated with this callback.- Returns:
- The tenant identifier
-