Connection.getAttribute

Returns the value of the user-defined attribute of this connection.

@param key the key of the attribute @return <tt>null</tt> if there is no attribute with the specified key

  1. Object getAttribute(string key)
    interface Connection
    Object
    getAttribute
    (
    string key
    )
  2. Object getAttribute(string key, Object defaultValue)

Meta