Package org.hibernate.id.enhanced
Interface AccessCallback
-
public interface AccessCallback
Contract for providing callback access to aDatabaseStructure
, typically from theOptimizer
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegralDataTypeHolder
getNextValue()
Retrieve the next value from the underlying source.java.lang.String
getTenantIdentifier()
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
-
-