Top Description Methods
org.hibernate.annotations

public @Interface TenantId

extends Annotation
Annotations
@ValueGenerationType
generatedBy:TenantIdGeneration
@AttributeBinderType
binder:TenantIdBinder
@Target:METHOD, FIELD
@Retention:RUNTIME
Imports
org.hibernate.binder.internal.TenantIdBinder, org.hibernate.generator.internal.TenantIdGeneration, java.lang.annotation.Retention, .Target

Identifies a field of an entity that holds a tenant id in discriminator-based multitenancy.
Author
Gavin King
Since
6.0
See Also
org.hibernate.context.spi.CurrentTenantIdentifierResolver

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString