Solved

How to access databases in Java 1.0.2

Posted on 1998-03-16
2
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
jpk041897 earned 150 total points
ID: 1233612
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
ID: 1233613
Wow, a world of information.

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

Thanks,
Vorlon
0

Featured Post

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!

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

734 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