Package org.hibernate.generator
Interface GeneratorCreationContext
-
- All Known Subinterfaces:
CustomIdGeneratorCreationContext
- All Known Implementing Classes:
IdGeneratorCreationContext
@Incubating public interface GeneratorCreationContext
Access to information useful during Generator creation and initialization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Database
getDatabase()
View of the relational database objects (tables, sequences, ...) and namespaces (catalogs and schemas).String
getDefaultCatalog()
The default catalog name, if one.String
getDefaultSchema()
The default schema name, if one.PersistentClass
getPersistentClass()
Mapping details for the entity; may be null in the case of and id-bag id generator.Property
getProperty()
The entity identifier or id-bag property details.ServiceRegistry
getServiceRegistry()
Access to available services.
-
-
-
Method Detail
-
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.
-
-