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

x
?
Solved

How to access databases in Java 1.0.2

Posted on 1998-03-16
2
Medium Priority
?
238 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 300 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
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…
Suggested Courses

927 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