code: public void setPreparedStatementParameterSetter(final PreparedStatementParameterSetter preparedStatementParameterSetter) {
          if (entities.size() > 0) {
              throw new IllegalStateException("The PreparedStatement parameter setter cannot be changed after an entity was generated!");
          }
          if (preparedStatementParameterSetter == null) {
              this.preparedStatementParameterSetter = new DefaultPreparedStatementParameterSetter();
          } else {
              this.preparedStatementParameterSetter = preparedStatementParameterSetter;
          }
      }
docs: Sets the PreparedStatementParameterSetter that will be used to set parameter values on {@link PreparedStatement}s.
  Must not be called after entities are created or an {@link IllegalStateException} gets thrown.
  
  @param preparedStatementParameterSetter new The PreparedStatementParameterSetter.