connect to oracle database and do DML operation

Posted on 2005-05-10
Last Modified: 2010-03-31
hi all,
i want to use java class to connect to my oracle database and insert record in the table,
please help me to do so
Question by:mohd_osman
    LVL 35

    Accepted Solution

    I assume you've read the basic Oracle JDBC tutorials on their website:

    LVL 35

    Expert Comment

    For example, this one seems very relevant:

    Let me know if you have any questions about it :-)

    Good luck!

    LVL 86

    Assisted Solution


    Author Comment

    thanks tim,
    but iam new comer to java programming,
    you lead me to complicate example for me ,
    are all those java packages needed for each purpose
    i want simple example,if you please,
    LVL 35

    Expert Comment

    CEHJ's answer shows you it in chunks :-)

    You will need to:

    import java.sql.* ;

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Suggested Solutions

    Title # Comments Views Activity
    Java MSI Solution 3 51
    Understanding @ResponseBody annotation 5 34
    squareUp  challenge 22 80
    countX 22 48
    1. Package the applet into a JAR file. The applet must be in a JAR file before a certificate can be attached to it. Use the jar JDK utility. If the applet was previously referenced with the help of a codebase attribute in  tag, replace the codebase …
    By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
    Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
    The viewer will learn how to implement Singleton Design Pattern in Java.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now