Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Problem of connecting to and extracting data from an Oracle database in Eclipse 3.4.1

  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem of connecting to and extracting data from an Oracle database in Eclipse 3.4.1

    In my Eclipse 3.4.1 ( with Tomcat 6.0 ) set up, I am having problems connecting to and extracting data from an Oracle (8.1.7) database. I am using "classe12.jar" in Tomcat's lib directory which is also in my CLASSPATH.
    Despite using what I consider as the correct Driver template for that classes12.jar file, appropriate context.xml and web.xml files my test jsp file is not able to output any results from the database.
    Any of the forum members who worked with Oracle with their Eclipse could help, may be by providing instructions on setting up the driver correctly along with the proper xml files to work with my database ?.
    Any help will be very much appreciated. I can send my versions of those files for any one to look at.

    Thanks
    Raj


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 287 Times in 225 Posts
    Blog Entries
    4

    Default Re: Connecting to Oracle from within Eclipse

    Hello kairamr,

    Welcome to the Java Programming Forums.

    It would be an advantage to post the code that you are using. This way our members can look it over to try to diagnose any problems.

    I personally have never used Java to connect to an Oracle database but I do have experience with Sybase.

    Take a look and see if any of these links will help you:

    Connect to an Oracle database with JDBC - Real's Java How-to

    Oracle JDbc Frequently Asked Questions

    Oracle JDBCDatabase SQL JDBCJava
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

    Looking for a Java job? Visit - Java Programming Careers

Similar Threads

  1. Replies: 24
    Last Post: August 4th, 2014, 12:49 PM