Hi AskTom team.
I'm testing a jdbc connection to database in my java application. When I use the following form:
jdbc:oracle:thin:@myhost:1521/myservicename
everything's fine, my java application connects to the db.
When I try to use this form
jdbc:oracle:thin:@//myhost:1521/myservicename
I'm getting: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
However if I change it a little and add .world domain
jdbc:oracle:thin:@//myhost:1521/myservicename.world
everything's fine again. So my question is: what does this double forward slash do? Why isn't the default domain (.world) used when I'm connecting to //myhost? Or why is it used if I remove the slashes?
Thanks!
Marcin