org.hibernate.tool.schema.spi.SchemaManagementTool Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
JPMS Module-Info's for a few of the Jakarta Libraries just until they add them in themselves
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.tool.schema.spi;
import java.util.Map;
import org.hibernate.Incubating;
import org.hibernate.service.Service;
import org.hibernate.tool.schema.internal.exec.GenerationTarget;
/**
* Contract for schema management tool integration.
*
* @author Steve Ebersole
*/
@Incubating
public interface SchemaManagementTool extends Service {
SchemaCreator getSchemaCreator(Map options);
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);
}