Solved

How to access databases in Java 1.0.2

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
login form jsp example 2 39
Eclipse Java import and method not resolved 4 52
Java 8 to Java 6 8 22
Tagging and Merging on Branch 1 30
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
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…

821 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