Solved

Accessing oracle database

Posted on 1998-05-18
2
200 Views
Last Modified: 2010-04-16
How can I access multiple database on one Oracle server using Java?
0
Comment
Question by:oddz
2 Comments
 
LVL 5

Accepted Solution

by:
msmolyak earned 20 total points
ID: 1221157
When you use JDBC to connect to a database, you should provide a URL of a data source you are trying to connect to. The URL should contain the database name. The connection URL syntax should be dependent on the particular JDBC driver you are using (that is the documentation for the driver should tell you what URL to use).
0
 

Expert Comment

by:sdaxm11
ID: 1221158
you can just connect to diffrent database using the  connect statment. just remember to close a connection before opening a new one
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

809 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