Check the TNSNAMES.ORA for the services connection string. If the default_domain is equal to the NET_SERVICE_NAME's domain, you may omit domain name when you connect to a database.