A community for students.
Here's the question you clicked on:
 0 viewing
annas
 3 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....
annas
 3 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

annas
 3 years ago
Best ResponseYou've already chosen the best response.1check the following class

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

annas
 3 years ago
Best ResponseYou've already chosen the best response.1ok yaar no problem but thanks anyway

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

rsmith6559
 3 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.

nczempin
 3 years ago
Best ResponseYou've already chosen the best response.1How 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?

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

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

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

annas
 3 years ago
Best ResponseYou've already chosen the best response.1Mssql and using JcreaterPro as java IDE.

annas
 3 years ago
Best ResponseYou've already chosen the best response.1ok what to download from the link

nczempin
 3 years ago
Best ResponseYou've already chosen the best response.1just 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

annas
 3 years ago
Best ResponseYou've already chosen the best response.1ok thanks its a great help

Waynasdi
 3 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...

annas
 3 years ago
Best ResponseYou've already chosen the best response.1ok... 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.