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

org.hibernate.jpa.internal.schemagen.GenerationSource 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;

/**
 * Contract describing a source for create/drop commands.
 *
 * @see org.hibernate.jpa.SchemaGenSource
 * @see org.hibernate.jpa.AvailableSettings#SCHEMA_GEN_CREATE_SOURCE
 * @see org.hibernate.jpa.AvailableSettings#SCHEMA_GEN_DROP_SOURCE
 *
 * @author Steve Ebersole
 */
interface GenerationSource {
	/**
	 * Retrieve the create generation commands from this source.
	 *
	 * @return The generation commands
	 */
	public Iterable getCommands();

	/**
	 * Release this source.  Give it a change to release its resources, if any.
	 */
	public void release();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy