Problem with jdbc connection

Hi,
I have a problem with connection to oracle db. There is a db named "db1" in oracle, but i cant establish connection with it inside my project. After successfull adding jdbc (first library, then driver), what i must write in a tools>datasources>database url field? Oracle db locates in the same machine, bd host name is "HOST=adm-4e7ed58da21)(PORT=1521)" according to oracle info...
Please, can anyone help ?
Thanks in advance.

2 comments
Comment actions Permalink

You need it in a connection string. Take a look at the url variable in the following page

http://www.exampledepot.com/egs/java.sql/ConnectOracle.html

0
Comment actions Permalink

Thx a lot, very useful link.
For my purpose i have used in a field "db url" string "jdbc:oracle:thin:@127.0.0.1:1521:db1"

0

Please sign in to leave a comment.