Interface GeneratorCreationContext

All Known Subinterfaces:
CustomIdGeneratorCreationContext

@Incubating public interface GeneratorCreationContext
Access to information useful during Generator creation and initialization.
See Also:
  • Method Details

    • getDatabase

      Database getDatabase()
      View of the relational database objects (tables, sequences, ...) and namespaces (catalogs and schemas).
    • getServiceRegistry

      ServiceRegistry getServiceRegistry()
      Access to available services.
    • getDefaultCatalog

      String getDefaultCatalog()
      The default catalog name, if one.
    • getDefaultSchema

      String getDefaultSchema()
      The default schema name, if one.
    • getPersistentClass

      PersistentClass getPersistentClass()
      Mapping details for the entity; may be null in the case of and id-bag id generator.
    • getProperty

      Property getProperty()
      The entity identifier or id-bag property details.