SQLStatement<?> stmt = stmtIt.next();
assertEquals("firstSelect", select, stmt);
assertEquals("firstSelect:parse", parser(select).SelectStatement(), parser(stmt).SelectStatement());
}
{
SQLInsert insert = new SQLInsert(
new TableName("Party", null),
new InsertValues(
list(
new InsertRow(GenericTestCaseBase.<Value>list(new StringValue("a"), new StringValue("PERSON"), new StringValue("PARTY_DISABLED"))),
new InsertRow(list(new NumberValue<Integer>(Integer.valueOf(5)), new StringValue("PARTY_GROUP"), new ParameterValue("name")))
)
),
list("partyId", "partyTypeId", "statusId")
);
SQLStatement<?> stmt = stmtIt.next();
assertEquals("firstInsert", insert, stmt);
assertEquals("firstInsert:parse", parser(insert).InsertStatement(), parser(stmt).InsertStatement());
}
{
SQLInsert insert = new SQLInsert(
new TableName("Person", null),
new SQLSelect(
false,
null,
GenericTestCaseBase.<String, FieldDef>map(