HHH-14019 Adding some comments to the new SPI

This commit is contained in:
Sanne Grinovero 2020-05-13 22:29:41 +01:00
parent 137c524a14
commit e23dad19ca
1 changed files with 8 additions and 0 deletions

View File

@ -23,5 +23,13 @@ public interface SchemaManagementTool extends Service {
SchemaDropper getSchemaDropper(Map options);
SchemaMigrator getSchemaMigrator(Map options);
SchemaValidator getSchemaValidator(Map options);
/**
* This allows to set an alternative implementation for the Database
* generation target.
* Used by Hibernate Reactive so that it can use the reactive database
* access rather than needing a JDBC connection.
* @param generationTarget the custom instance to use.
*/
void setCustomDatabaseGenerationTarget(GenerationTarget generationTarget);
}