I would like to connect to Oracle 11g Enterprise DB from eclipse as part of JPA Project. I have service name, U/P and Hostname. But the option provided for me in eclipse is SID, which I do not have.
I use SQL Developer to connect to database and it works perfectly. I am not sure how to connect from eclipse with Service Name. any help? I tried to give Service Name for SID. It didn't work.
Jar I am using is ojdbc14.jar. Not sure if this is the right Jar.
You can use "Generic JDBC" connection profile and specify url directly:
jdbc:oracle:thin:@//host:port/service_name
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With