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 ab085a1765
commit e2d5ebd7f9

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);
}