code: public void setObject(final int parameterIndex, 
                            final Object x, 
                            final int targetSqlType, 
                            final int scaleOrLength) throws SQLException {
  
          if (!Defaults.jdbcTypeMappings.containsKey(targetSqlType)) {
              throw new SQLFeatureNotSupportedException();
          } // end of if
  
          // ---
  
          if (x == null) {
              setNull(parameterIndex, targetSqlType);
              return;
          } // end of if
  
          // ---
  
          switch (targetSqlType) {
          case Types.DOUBLE:
          case Types.REAL:
          case Types.FLOAT:
          case Types.NUMERIC: 
          case Types.DECIMAL: 
              setParam(parameterIndex, Scaled(targetSqlType, scaleOrLength), x);
              break;
  
          default:
              setParam(parameterIndex, Default(targetSqlType), x);
              break;
          }
      }
docs: {@inheritDoc}