throw new IllegalArgumentException("connName cannot be null.");
if (table == null)
throw new IllegalArgumentException("table cannot be null.");
DBAdapter dba = DBAdapterFactory.getInstance().getAdapter(connName);
String countSQL = dba.getTotalCountSQL(connName, table);
Map<String, Object> inputs = new HashMap<String, Object>();
inputs.put(DataProcessor.input_key_database_connection_name, connName);
Object result = SqlServiceClient.retrieveObjectBySQL(countSQL, inputs);