List beans = getPlatform().fetch(getModel(), "SELECT * FROM TestTable");
List beans = getPlatform().fetch(getModel(), "SELECT * FROM TestTable", new Table[] { getModel().getTable(0) });
    public void testSimpleFetch() throws Exception    {        createDatabase(            "<?xml version='1.0' encoding='ISO-8859-1'?>\n"+            "<database name='ddlutils'>\n"+            "  <table name='TestTable'>\n"+            "    <column name='Id' type='INTEGER' primaryKey='true' required='true'/>\n"+            "    <column name='Text' type='VARCHAR' size='15'/>\n"+            "  </table>\n"+            "</database>");        insertData(            "<?xml version='1.0' encoding='ISO-8859-1'?>\n"+            "<data>\n"+            "  <TestTable Id='1' Text='Text 1'/>\n"+            "  <TestTable Id='2' Text='Text 2'/>\n"+            "  <TestTable Id='3' Text='Text 3'/>"+            "</data>");        List beans = getPlatform().fetch(getModel(), "SELECT * FROM TestTable");        assertEquals(3,                     beans.size());        DynaBean bean = (DynaBean)beans.get(0);        assertEquals(new Integer(1),                     getPropertyValue(bean, "Id"));        assertEquals("Text 1",                     getPropertyValue(bean, "Text"));                bean = (DynaBean)beans.get(1);        assertEquals(new Integer(2),                     getPropertyValue(bean, "Id"));        assertEquals("Text 2",                     getPropertyValue(bean, "Text"));        bean = (DynaBean)beans.get(2);        assertEquals(new Integer(3),                     getPropertyValue(bean, "Id"));        assertEquals("Text 3",                     getPropertyValue(bean, "Text"));    }