Solved

Java Connection to Database Question

Posted on 2003-12-02
6
286 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java Server Faces parameter pass? 6 48
rhino JavaScript import, load 25 82
eclipse buid path vs tomcat lib path 10 22
Java: anonymous class 4 17
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

776 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