code: public void setObject(final int parameterIndex, 
                            final Object x) throws SQLException {
  
          if (x == null) {
              if ("true".equals(connection.getProperties().
                                get("acolyte.parameter.untypedNull"))) {
  
                  // Fallback to String-VARCHAR
                  setObject(parameterIndex, null, Types.VARCHAR);
  
                  return;
              } // end of if
  
              throw new SQLException("Cannot set parameter from null object");
          } // end of if
  
          // ---
  
          final String className = normalizeClassName(x.getClass());
  
          if (!Defaults.jdbcTypeClasses.containsKey(className)) {
              throw new SQLFeatureNotSupportedException("Unsupported parameter type: " + className);
          } // end of if
          
          // ---
  
          final int sqlType = Defaults.jdbcTypeClasses.get(className);
  
          setObject(parameterIndex, x, sqlType);
      }
docs: {@inheritDoc}
  Cannot be used with null parameter |x|.
  @see #setObject(int,Object,int)