Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reading alias information from TNSNAMES.ORA

28976Jul 31 2006
Hi,
We have 3 databases we can connect to, to run our applications. What I would like to know if anyone has written any code for a login screen that can read the alias information out of the tnsnames.ora file to present to the user in a combo box, so they can choose what database they connect to?

This would be more preferreable than hard coding the alias values into the combo box as the alias names could change in the tnsnames.ora file and this would mean changing the hardcoded values in the login screen.

Any help would be appreciated.

Regards,
Scott.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2006
Added on Jul 31 2006
0 comments
1,327 views