Exemple #1
0
  @Test
  public void testQueryLimit() throws Exception {
    Select command =
        (Select)
            VDBUtility.TRANSLATION_UTILITY.parseCommand(
                "select * From Trade_Object.Trade LIMIT 3"); //$NON-NLS-1$

    performTest(command, 3, SELECT_STAR_COL_COUNT);
  }
Exemple #2
0
  @Test
  public void testQueryGetIn1Trade() throws Exception {
    Select command =
        (Select)
            VDBUtility.TRANSLATION_UTILITY.parseCommand(
                "select * From Trade_Object.Trade as T where TradeID in ('2', '3')"); //$NON-NLS-1$

    performTest(command, 2, SELECT_STAR_COL_COUNT);
  }