A community for students.
Here's the question you clicked on:
 0 viewing
anonymous
 4 years ago
can any one tell me how to do java sql or java access
connectivity??? i've tried alot but nothing is working please help me with that....
anonymous
 4 years ago
can any one tell me how to do java sql or java access connectivity??? i've tried alot but nothing is working please help me with that....

This Question is Closed

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0check the following class

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0Nahin bhai, mujhe to java kuch pata nahin hai. sorry.

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0ok yaar no problem but thanks anyway

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0do u know anyone else who can help me with this...?

rsmith6559
 4 years ago
Best ResponseYou've already chosen the best response.0In SQL, strings are single quoted. That will help your insert statement greatly. The compiler can't tell where strings begin and end when you haven't escaped the inner double quotes.

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0How is the problem presenting itself? What kind of error are you getting? Can you get a basic "SELECT * FROM ..." to work with an existing database?

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0dude nothing is working not even Select * from.... at every function program throws an exception ... i dont know what wrong with it.

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0if you can't even get select to work, you probably don't have a connection to the database. What database system are you using?

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0try this first: http://docs.oracle.com/javase/tutorial/jdbc/basics/gettingstarted.html

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0Mssql and using JcreaterPro as java IDE.

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0ok what to download from the link

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0just read the tutorial and do what they tell you to do (download what they tell you to download). Just use JavaDB like they tell you to. Once you are more comfortable and understand the basics, you should be able to adapt it to your particular database. It's probably best if you start here: http://docs.oracle.com/javase/tutorial/jdbc/index.html

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0ok thanks its a great help

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0I guess your using java to access MS database...I noticed that you misspelled the string parameter for Class.forName("sun.jdbc.odbc.jdcodcDriver") ...It should be Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").....By the way you should define user dns to work with odbc datasource...

anonymous
 4 years ago
Best ResponseYou've already chosen the best response.0ok... thank i'll check it
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.