Solved

Java Connection to Database Question

Posted on 2003-12-02
6
301 Views
Last Modified: 2010-03-31
How do you connect to a database using Java? Examples on a Windows 2k platform, targeting mySQL or msSQL would be nice.

Also:
--Is there any difference in connecting to different databases/different connection methods?
--Is there a built-in Java Database i can use (that compiles into the exe)?
--any other tips and notes on java DB will be appreciated
0
Comment
Question by:wkz
  • 5
6 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 9864007
0
 
LVL 92

Expert Comment

by:objects
ID: 9864011
>--Is there any difference in connecting to different databases/different connection methods?

Only in connection string

>--Is there a built-in Java Database i can use (that compiles into the exe)?

not that i'm aware of
0
 
LVL 92

Expert Comment

by:objects
ID: 9864015
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:wkz
ID: 9864037
wow...... that's REALLY fast

thanks
0
 
LVL 92

Expert Comment

by:objects
ID: 9864044
At your service ;)
0
 
LVL 92

Expert Comment

by:objects
ID: 9864045
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to execute a Python program and gather return output in Java 2 49
jboss 7.1 start up error 1 64
Chrome and Firefox Java 5 69
java imports not found 4 52
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

726 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