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

org.hibernate.boot.model.source.internal.hbm.UniqueKeyConstraintSourceImpl 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.boot.model.source.internal.hbm;

import java.util.Locale;

import org.hibernate.boot.model.source.spi.UniqueKeyConstraintSource;

/**
 * @author Steve Ebersole
 */
class UniqueKeyConstraintSourceImpl extends AbstractConstraintSource implements UniqueKeyConstraintSource {
	UniqueKeyConstraintSourceImpl(String name, String tableName) {
		super( name, tableName );
	}

	@Override
	public String toString() {
		return String.format(
				Locale.ENGLISH,
				"UniqueKeyConstraintSource{name='%s', tableName='%s', columnNames='%s', orderings=}",
				name,
				tableName,
				columnNames
		);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy