Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

annas Group Title

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

  • 2 years ago
  • 2 years ago

  • This Question is Closed
  1. annas Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    check the following class

    • 2 years ago
  2. Aadarsh Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Nahin bhai, mujhe to java kuch pata nahin hai. sorry.

    • 2 years ago
  3. annas Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    ok yaar no problem but thanks anyway

    • 2 years ago
  4. annas Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    do u know anyone else who can help me with this...?

    • 2 years ago
  5. rsmith6559 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    In 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.

    • 2 years ago
  6. nczempin Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    How 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?

    • 2 years ago
  7. annas Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    dude nothing is working not even Select * from.... at every function program throws an exception ... i dont know what wrong with it.

    • 2 years ago
  8. nczempin Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    if you can't even get select to work, you probably don't have a connection to the database. What database system are you using?

    • 2 years ago
  9. nczempin Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    try this first: http://docs.oracle.com/javase/tutorial/jdbc/basics/gettingstarted.html

    • 2 years ago
  10. annas Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Ms-sql and using JcreaterPro as java IDE.

    • 2 years ago
  11. annas Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    ok what to download from the link

    • 2 years ago
  12. nczempin Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    just 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

    • 2 years ago
  13. annas Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    ok thanks its a great help

    • 2 years ago
  14. Waynasdi Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I 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...

    • 2 years ago
  15. annas Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    ok... thank i'll check it

    • 2 years ago
    • Attachments:

See more questions >>>

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
  • 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.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.