Package org.hibernate.generator
Interface GeneratorCreationContext
- All Known Implementing Classes:
IdGeneratorCreationContext
Access to information useful during Generator creation and initialization.
- Since:
- 6.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionView of the relational database objects (tables, sequences, etc.) and namespaces (catalogs and schemas).The default catalog name, if one.The default schema name, if one.Mapping details for the entity.The entity identifier or id-bag property details.Mapping details for the root of the entity hierarchy.Access to available services.default SqlStringGenerationContext
TheSqlStringGenerationContext
to use when generating SQL.default Type
getType()
Mapping details for the identifier type.
-
Method Details
-
getDatabase
Database getDatabase()View of the relational database objects (tables, sequences, etc.) and namespaces (catalogs and schemas). Generators may add new tables or sequences to the returnedDatabase
. -
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. -
getRootClass
RootClass getRootClass()Mapping details for the root of the entity hierarchy. -
getProperty
Property getProperty()The entity identifier or id-bag property details. -
getType
Mapping details for the identifier type. -
getSqlStringGenerationContext
TheSqlStringGenerationContext
to use when generating SQL.
-