Solved

How to access databases in Java 1.0.2

Posted on 1998-03-16
2
199 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
network + 7 81
How can I do a Massively massive community reviewing-and-grading site? 7 70
Java Loop 6 50
eclipse shortcuts 9 45
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

863 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

25 Experts available now in Live!

Get 1:1 Help Now