class TableUtils {

	public static <T> int clearTable(ConnectionSource connectionSource, Class<T> dataClass) throws SQLException {
		String tableName = DatabaseTableConfig.extractTableName(dataClass);
		DatabaseType databaseType = connectionSource.getDatabaseType();
		if (databaseType.isEntityNamesMustBeUpCase()) {
			tableName = databaseType.upCaseEntityName(tableName);
		}
		return clearTable(connectionSource, tableName);
	}

	private  TableUtils();

}