Solved

what is isql plus

Posted on 2009-07-01
5
752 Views
Last Modified: 2012-05-07
Hi ,

What is isql plus ??
is it possible to connect via jdbc driver . If its possible can u give me the code in java

thanks
Sathish
0
Comment
  • 3
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
Phateon earned 250 total points
ID: 24752668
iSQL*Plus is a browser based implementation of SQL*Plus. We can use it to connect to an Oracle database system over the Internet.
You can try using this code to connect a via jdbc driver using the code:
.
.
.
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
String url = "jdbc:oracle:thin:@yourserver:1521";
try {
String url1 = System.getProperty("JDBC_URL");
if (url1 != null)
url = url1;
} catch (Exception e) {
// If there is any security exception, ignore it and use default
}
// Connect to the database
Connection conn =
DriverManager.getConnection (url, "username", "password");
// Create a Statement here..
.
.
.
.
.

Open in new window

0
 
LVL 20

Author Comment

by:Sathish David Kumar N
ID: 24752749
Hi Phateon,

While using ur code ORA error only occur ,
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
1521 is for oracle server only is it ? ?
but we didnt mention the service name so how it will work ..
is ur code is correct !!
0
 
LVL 7

Expert Comment

by:Phateon
ID: 24752758
It sure is correct. You will need the corresponding port where the database is located. Please ask your system administrator for information to the port.
0
 
LVL 20

Author Comment

by:Sathish David Kumar N
ID: 24753254
Ya i know thats its use to connect oracle server >?
but what is the use of isql plus ?
what is isql Plus ??
0
 
LVL 7

Expert Comment

by:Phateon
ID: 24754344
As I have already said, iSQL*Plus is a browser based implementation of SQL*Plus. We can use it to connect to an Oracle database system over the Internet.
It is a web-based utility similar to the SQL*Plus command line utility for executing SQL and PL/SQL commands.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Read about achieving the basic levels of HRIS security in the workplace.
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

860 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