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

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

There is a newer version: 5.6.15.Final
Show newest version
package org.hibernate.tool.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