Solved

How to access databases in Java 1.0.2

Posted on 1998-03-16
2
196 Views
Last Modified: 2010-04-16
I've been reading up on database access and was about to create a simple sample for myself. I wanted to access an Interbase database and placed the import java.sql.* statement only to find out that is wasn't found. Further reading told me that the java.sql package doesn't exist in Java 1.0.2.

Is this correct? Can anyone show me a quick and dirty example on how to connect to a database? (Preferably Interbase, Access, or Paradox).

WIlling to raise points.Thanks in advance.
0
Comment
Question by:vorlon
2 Comments
 
LVL 6

Accepted Solution

by:
jpk041897 earned 150 total points
Comment Utility
No need to raise the points.

Your problem arises from the fact that JDBC is not integrated in JDK 1.02 but has to be downloaded seperatley.

You can obtain it at:

http://www.javasoft.com/products/jdbc/jdbc.html

Regarding sample code, take a look at:

http://www.javasoft.com/products/jdk/1.1/docs/guide/jdbc/getstart/SimpleSelect.doc.html

and for additional info take a look at:

http://www.javasoft.com/products/jdk/1.1/docs/guide/jdbc/getstart/introTOC.doc.html

amd at:

http://www.mcp.com

the personal library, programming section has several books with more explanations and sample code.
0
 
LVL 2

Author Comment

by:vorlon
Comment Utility
Wow, a world of information.

Let me take a look at it and then I'll grade your question.

Thanks,
Vorlon
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Java 1603 Error 2 41
Increment alphanumeric sequence 6 78
computer science syllabus 3 52
strCount chalenge 3 50
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now