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

org.hibernate.jpa.internal.schemagen.GenerationTarget Maven / Gradle / Ivy

There is a newer version: 5.4.2.Final
Show newest version
/*
 * 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.jpa.internal.schemagen;

/**
 * Describes a schema generation target
 *
 * @see org.hibernate.jpa.AvailableSettings#SCHEMA_GEN_SCRIPTS_ACTION
 * @see org.hibernate.jpa.AvailableSettings#SCHEMA_GEN_SCRIPTS_CREATE_TARGET
 * @see org.hibernate.jpa.AvailableSettings#SCHEMA_GEN_SCRIPTS_DROP_TARGET
 *
 * @author Steve Ebersole
 */
interface GenerationTarget {
	/**
	 * Accept a group of create generation commands
	 *
	 * @param commands The commands
	 */
	public void acceptCreateCommands(Iterable commands);

	/**
	 * Accept a group of drop generation commands.
	 *
	 * @param commands The commands
	 */
	public void acceptDropCommands(Iterable commands);

	/**
	 * Release this target, giving it a change to release its resources.
	 */
	public void release();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy