assertEquals("from SURVEY SURVEY with (NOWAIT, NOLOCK)\nwhere SURVEY.NAME is null", query.toString());
}
@Test
public void TableHints_Multiple2() {
QSurvey survey2 = new QSurvey("survey2");
SQLServerSubQuery query = new SQLServerSubQuery();
query.from(survey).tableHints(SQLServerTableHints.NOWAIT)
.from(survey2).tableHints(SQLServerTableHints.NOLOCK)
.where(survey.name.isNull());
assertEquals("from SURVEY SURVEY with (NOWAIT), SURVEY survey2 with (NOLOCK)\nwhere SURVEY.NAME is null", query.toString());