public String sql_select(String vendorName,String catalogName,String schemaName,String tableName,String condition){
  ArrayList<String> columnNames=null;
  ArrayList<String> aliasNames=null;
  ArrayList<String> conditions=null;
  ArrayList<String> sortColumns=null;
  if (condition != null && condition.length() > 0) {
    conditions=new ArrayList<String>();
    conditions.add(condition);
  }
  return sql_select(vendorName,catalogName,schemaName,tableName,null,columnNames,aliasNames,conditions,sortColumns,false);
}

public String sql_select ( String vendorName , String catalogName , String schemaName , String tableName , String condition ) { ArrayList < String > columnNames = null ; ArrayList < String > aliasNames = null ; ArrayList < String > conditions = null ; ArrayList < String > sortColumns = null ; if ( condition != null && condition . length ( ) > 0 ) { conditions = new ArrayList < String > ( ) ; conditions . add ( condition ) ; } return sql_select ( vendorName , catalogName , schemaName , tableName , null , columnNames , aliasNames , conditions , sortColumns , false ) ; }
gets the database specific sql command to select records from a table
