Example #1
0
 private void serializeModifiersForDML(QueryMetadata metadata, SQLSerializer context) {
   if (metadata.getWhere() != null) {
     context.append(" and ");
   } else {
     context.append(getWhere());
   }
   context.append("rownum <= ");
   context.visitConstant(metadata.getModifiers().getLimit());
 }