code: private PreparedStatement buildPreparedStatement(Connection connection, QueryModel queryModel)
              throws SQLException {
          PreparedStatement preparedStatement = connection.prepareStatement(buildSelectString(queryModel));
  
          int parameterLocation = 1;
          for (Condition condition : queryModel.getConditions()) {
              JDBCConstraint jdbcConstraint = (JDBCConstraint) condition.getConstraint();
  
              if (jdbcConstraint.getParameter1() != null) {
                  preparedStatement.setObject(parameterLocation++, jdbcConstraint.getParameter1());
              }
  
              if (jdbcConstraint.getParameter2() != null) {
                  preparedStatement.setObject(parameterLocation++, jdbcConstraint.getParameter2());
              }
          }
  
          return preparedStatement;
      }
docs: -------------------------------------------------------------