* @version 1.0
* @since 2016-02-29
*/
-public class TableRelation extends TableSet {
+public final class TableRelation extends TableSet {
/**
* TableRelation class properties
try {
String strCommand = "SELECT " + strTableName + ".* "
- /*+ strOtherTableName + ".*, "
- + STR_COMM_TABLE_NAME + ".ACCESS "*/
+ "FROM "
+ strTableName + ", "
+ strOtherTableName + ", "
try {
String strCommand = "SELECT "/*+ strTableName + ".*, "*/
+ strOtherTableName + ".* "
- /*+ STR_COMM_TABLE_NAME + ".ACCESS "*/
+ "FROM "
+ strTableName + ", "
+ strOtherTableName + ", "
// Scan WHERE for either IoTSet or IoTRelation
if (strScan.equals("WHERE")) {
// The next token is definitely the WHERE statement
- strScan = scanFile.next();
+ strScan = "";
+ String strWhere = scanFile.next();
+ while (!strWhere.equals(";")) {
+ strScan = strScan + " " + strWhere;
+ strWhere = scanFile.next();
+ }
this.setWhereCondition(strScan);
}
}