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

org.hibernate.tool.hbm2ddl.SchemaUpdateCommand Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
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.tool.hbm2ddl;

/**
 * Pairs a SchemaUpdate SQL script with the boolean 'quiet'.  If true, it allows
 * the script to be run, ignoring all exceptions.
 *
 * @author Brett Meyer
 * @author Steve Ebersole
 *
 * @deprecated Everything in this package has been replaced with
 * {@link org.hibernate.tool.schema.spi.SchemaManagementTool} and friends.
 */
@Deprecated
public class SchemaUpdateCommand {
	private final String sql;
	private final boolean quiet;

	public SchemaUpdateCommand(String sql, boolean quiet) {
		this.sql = sql;
		this.quiet = quiet;
	}

	public String getSql() {
		return sql;
	}

	public boolean isQuiet() {
		return quiet;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy