Java Code Examples for org.hibernate.dialect.Dialect#getDropTableString()

The following examples show how to use org.hibernate.dialect.Dialect#getDropTableString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Table.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public String sqlDropString(Dialect dialect, String defaultCatalog, String defaultSchema) {
	return dialect.getDropTableString( getQualifiedName( dialect, defaultCatalog, defaultSchema ) );
}
 
Example 2
Source File: TableGenerator.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public String[] sqlDropStrings(Dialect dialect) throws HibernateException {
	return new String[] { dialect.getDropTableString( renderedTableName ) };
}
 
Example 3
Source File: TableStructure.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
@Override
public String[] sqlDropStrings(Dialect dialect) throws HibernateException {
	return new String[] { dialect.getDropTableString( tableNameText ) };
}
 
Example 4
Source File: MultipleHiLoPerTableGenerator.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public String[] sqlDropStrings(Dialect dialect) throws HibernateException {
	return new String[] {dialect.getDropTableString( tableName )};
}