public static <T> int clearTable(ConnectionSource connectionSource, Class<T> dataClass) throws SQLException {
		DatabaseType databaseType = connectionSource.getDatabaseType();
		String tableName = DatabaseTableConfig.extractTableName(databaseType, dataClass);
		if (databaseType.isEntityNamesMustBeUpCase()) {
			tableName = databaseType.upCaseEntityName(tableName);
		}
		return clearTable(connectionSource, tableName);
	}
public static < T > int clearTable ( ConnectionSource connectionSource , Class < T > dataClass ) throws SQLException { DatabaseType databaseType = connectionSource . getDatabaseType ( ) ; String tableName = DatabaseTableConfig . extractTableName ( databaseType , dataClass ) ; if ( databaseType . isEntityNamesMustBeUpCase ( ) ) { tableName = databaseType . upCaseEntityName ( tableName ) ; } return clearTable ( connectionSource , tableName ) ; }
Clear all data out of the table. For certain database types and with large sized tables, which may take a long
time. In some configurations, it may be faster to drop and re-create the table.

<p>
<b>WARNING:</b> This is [obviously] very destructive and is unrecoverable.
</p>