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

org.hibernate.tool.internal.util.TableNameQualifier Maven / Gradle / Ivy

There is a newer version: 7.0.0.Beta1
Show newest version
package org.hibernate.tool.internal.util;

public class TableNameQualifier {

	public static String qualify(String catalog, String schema, String table) {
		StringBuilder qualifiedName = new StringBuilder();
		if ( catalog != null ) {
			qualifiedName.append( catalog ).append( '.' );
		}
		if ( schema != null ) {
			qualifiedName.append( schema ).append( '.' );
		}
		return qualifiedName.append( table ).toString();
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy