My Oracle Support Banner

Can The JDBC Connect String Be Constructed Without A Domain Name? (Doc ID 391653.1)

Last updated on AUGUST 09, 2023

Applies to:

JDBC - Version 8.1.7.4 and later
Information in this document applies to any platform.
Information in this document applies to any platform.

Goal

Is it possible to configure JDBC so that a domain_name does not have to be specified in the JDBC Connect String?

For example, is it possible to use "jdbc:oracle:thin:@<MACHINE_NAME>:<PORT>:<SID>" as the JDBC URL instead of "jdbc:oracle:thin:@<MACHINE_NAME.DOMAIN_NAME>:<PORT>:<SID>"

NOTE:  In this article, all configuration details like server names, usernames, instance names, schema names, domain names, etc. used in the images and examples above represent a fictitious sample for clarity or are default installation values.  These and any value placeholder values including the which may surround the placeholders should be replaced by the actual values used in your environment. Any similarity to actual environments, past or present, or users, living or dead, is purely coincidental and not intended in any manner.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.