• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

connect to oracle database and do DML operation

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
regards,
0
mohd_osman
Asked:
mohd_osman
  • 3
2 Solutions
 
TimYatesCommented:
I assume you've read the basic Oracle JDBC tutorials on their website:

http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/basic/basic.html

?
0
 
TimYatesCommented:
For example, this one seems very relevant:

http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/basic/DMLSample/DMLSample.java.html

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

Good luck!

Tim
0
 
mohd_osmanAuthor Commented:
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,
0
 
TimYatesCommented:
CEHJ's answer shows you it in chunks :-)

You will need to:

import java.sql.* ;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now