Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove HS as a CONNECT_DATA parameter and add it as a DESCRIPTION par… #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gheinze
Copy link

@gheinze gheinze commented Jul 25, 2021

Thank-you for publishing this grammar. In case it may be of interest to others, this is a modification I made in order to successfully parse my own tnsnames.

The HS parameter (Heterogeneous Services) was configured as part of the CONNECT_DATA clause as described in the 11g documentation. However, it seems the 11g documentation is incorrect.

Section 6.9.4 of the 12c documentation and section 6.9.4 of the 19c document both list the HS parameter under the CONNECT_DATA section, however, the examples demonstrate HS being used as part of the DESCRIPTION. All implementation examples I have found and our own usage has the HS parameter as part of the DESCRIPTION. The response from Oracle support regarding the discrepancy between the documentation text and the documentation example was that we should follow the example.

i.e. this example from the 19c doc is supposed to be correct:

net_service_name= 
 (DESCRIPTION=
   (ADDRESS_LIST=
     (ADDRESS=...)
     (ADDRESS=...))
   (CONNECT_DATA=
    (SID=sales6)
    )
(HS=ok))

while this example from the 11g doc is incorrect:

net_service_name= 
 (DESCRIPTION=
   (ADDRESS=...)
   (ADDRESS=...)
   (CONNECT_DATA=
    (SID=sales6)
    (HS=ok)))

…ameter instead as per 12c and 19c doc examples
@pagrf
Copy link

pagrf commented Jul 26, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants