code: public void addAttribute(String attributeName, String attributeValue)
      {
          if (attributeName != null && attributeName.startsWith(JDBC_PROPERTY_NAME_PREFIX))
          {
              final String jdbcPropertyName = attributeName.substring(JDBC_PROPERTY_NAME_LENGTH);
              jdbcProperties.setProperty(jdbcPropertyName, attributeValue);
          }
          else if (attributeName != null && attributeName.startsWith(DBCP_PROPERTY_NAME_PREFIX))
          {
              final String dbcpPropertyName = attributeName.substring(DBCP_PROPERTY_NAME_LENGTH);
              dbcpProperties.setProperty(dbcpPropertyName, attributeValue);
          }
          else
          {
              super.addAttribute(attributeName, attributeValue);
          }
      }
docs: Sets a custom configuration attribute.
  @param attributeName the attribute name. Names starting with
  {@link #JDBC_PROPERTY_NAME_PREFIX} will be used (without the prefix) by the
  ConnectionFactory when creating connections from DriverManager
  (not used for external DataSource connections). Names starting with
  {@link #DBCP_PROPERTY_NAME_PREFIX} to Commons DBCP (if used, also without prefix).
  @param attributeValue the attribute value