code: public int getSqlType(Object o) {
          if (null == o) {
              return Types.NULL;
          }
          return getSqlType(o.getClass());
      }
docs: Get the SQL type for an object.
  @param o Object to get SQL type of.
  @return SQL type of the object, Types.OTHER if cannot classify.