Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Java Connection to Database Question

Posted on 2003-12-02
6
Medium Priority
?
315 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 1000 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Industry Leaders: 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!

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
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:
Suggested Courses

971 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