All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.testing.junit5.schema.SchemaScope Maven / Gradle / Ivy

/*
 * 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 http://www.gnu.org/licenses/lgpl-2.1.html
 */
package org.hibernate.testing.junit5.schema;

import java.util.function.Consumer;

import org.hibernate.tool.hbm2ddl.SchemaExport;
import org.hibernate.tool.hbm2ddl.SchemaUpdate;
import org.hibernate.tool.hbm2ddl.SchemaValidator;
import org.hibernate.tool.schema.internal.SchemaCreatorImpl;
import org.hibernate.tool.schema.internal.SchemaDropperImpl;
import org.hibernate.tool.schema.spi.SchemaFilter;
import org.hibernate.tool.schema.spi.SchemaMigrator;

import org.hibernate.testing.junit5.template.TestScope;


/**
 * @author Andrea Boriero
 */
public interface SchemaScope extends TestScope {

	void withSchemaUpdate(Consumer counsumer);

	void withSchemaValidator(Consumer counsumer);

	void withSchemaMigrator(Consumer counsumer);

	void withSchemaExport(Consumer counsumer);

	void withSchemaCreator(SchemaFilter filter, Consumer consumer);

	void withSchemaDropper(SchemaFilter filter, Consumer consumer);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy