facebook

Oracle DB [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #211811 Reply

    I’m trying to setup an Oracle driver in the DB Browser. I put in the settings that I’ve used in an non-eclipse/ant based java app — in terms of database url etc. — and I’m getting an error when I try to connect

    oracle.jdbc.driver.OracleDriver

    That’s it — no other information in the error. This connection information successfully works in another app on my machine — the database is up — I can connect via other tools.

    I’m stuck.

    Lee

    #211822

    snpe
    Member

    You have to add ojdbc4.jar (jdbc jar file for oracle) when create new profile in db perspective – click new driver and add jar file in extra class path

    regards

    #213403

    thanks — having trouble doing so. I see the “extra class” tab, but it’s asking for a Name, Example URL and Driver Class Name and I don’t know what to put in these values.

    #213408

    Ok…here’s my jdbc connection string that works in my app
    jdbc:oracle:thin:user/password@server.mycompany.com:portNumber:mysid

    obviously with the names changed

    What values to I put in the URL etc. in my MyEclipse database profile. I’ve tried numerous variations. I’ve tried selecting the oracle and the oracle thin drivers, I’ve tried adding a new one. I’ve not been able to successfully add a new one, because I don’t know what to put in the Name, Example URL and Driver Class Name fields.

    Lee

    #213432

    Riyad Kalla
    Member

    Name: “Oracle Driver”
    Example URL: jdbc:oracle:thin:user/password@server.mycompany.com:portNumber:mysid
    Drive Class Name: <hit “List drivers” and select it from the dropdown>

    The “example URL” is a template displayed for you when you go to make a new connection of this TYPE to the DB, then you go in and fill in the vars (like user name/pass) with valid values.

    #213473

    snpe
    Member

    Driver class for orcal jdbc is :
    oracle.jdbc.driver.OracleDriver
    URL set like
    jdbc:oracle:thin:@your_server:port:sid
    in driver setting exists fields for username and password – default for oracle
    is DBA admin systm/manager or simple scott/tiger

    If You don’t know server try localhost, port is default 1521, as sid for default install is orcl or ORCL – for correct value ask DBA

    regards

    #213476

    @support-rkalla wrote:

    Name: “Oracle Driver”
    Example URL: jdbc:oracle:thin:user/password@server.mycompany.com:portNumber:mysid
    Drive Class Name: <hit “List drivers” and select it from the dropdown>

    The “example URL” is a template displayed for you when you go to make a new connection of this TYPE to the DB, then you go in and fill in the vars (like user name/pass) with valid values.

    That worked, thanks. One caveat, when I tried the drop down of drivers, there were no values. Then I clicked the list drivers button, which populated the drop down. But that wasn’t very intuitive.

    Lee

    #213482

    Riyad Kalla
    Member

    Lee,
    Agreed, it would be nicer if it was automatic, I’ll ask the dev to see if that’s quick to add.

    #213516

    support-jeff
    Member

    I have entered this as an enhancement request. I have never liked this dialog anyway – needs an overhaul.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Oracle DB [Closed]

You must be logged in to post in the forum log in