OCI Connectivity For Oracle Plz Solve This Error
import java.io.*;
import java.sql.*;
import java.lang.*;
import oracle.jdbc.OracleDriver;
public class OraThin
{
public static void main(String[] args)
{
try
{
Connection con;
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Class.forName("oracle.jdbc.driver.OracleDriver");
System.out.println("done");
con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:xe","system","kevalonly");
Statement s=con.createStatement();
s.execute("INSERT INTO mlogin values('admin','kevalonly')");
ResultSet rs=s.executeQuery("Select *from mlogin");
//ResultSet rs=s.executeQuery("Select *from mlogin");
while(rs.next())
{
System.out.println(rs.getString("username"));
System.out.println(rs.getString("password"));
}
s.execute("commit");
rs.close();
s.close();
System.out.println("getConnection done........................");
con.close();
}
catch(Exception e)
{
e.printStackTrace();
}
}
}
---> I found Error below how i can solve this error plz tell me some answer
Package not found Error
View Answers
Ads
Related Tutorials/Questions & Answers:
OCI Connectivity For Oracle Plz Solve This Error
OCI Connectivity For
Oracle Plz Solve This Error import java.io....)
{
e.printStackTrace();
}
}
}
---> I found
Error below how i can
solve this
error plz...");
con=DriverManager.getConnection("jdbc:
oracle:thin
OCI Connectivity For Oracle Plz Solve This Error
OCI Connectivity For
Oracle Plz Solve This Error import java.io....)
{
e.printStackTrace();
}
}
}
---> I found
Error below how i can
solve this
error plz...");
con=DriverManager.getConnection("jdbc:
oracle:thin
Advertisements
oracle connectivity
oracle connectivity con=DriverManager.getConnection("jdbc:
oracle:thin:@localhost:1521:orcl","hr","hr");
i have
error on above line when i tried...=DriverManager.getConnection("jdbc:
oracle:thin:@localhost:1521:orcl","hr","hr
Oracle Database connectivity probem
Oracle Database
connectivity probem hi
Below is the code of
oracle database
connectivity, when i compile it, it will show the
error... also set the environment variable like that .;E:\
oracle\ora81\jdbc\lib
oracle connectivity problem with netbeans
oracle connectivity problem with netbeans sir I am using
oracle.... for this after adding new driver(ojdbc6.jar) in services tab I got
connectivity with
oracle... of simple
connectivity with
oracle in this I am giving driver details
jdbc oracle connectivity problem
jdbc
oracle connectivity problem Hi All,
I am trying to connect my swing application to
oracle DB . but class.forname is giving
error. Please suggest me if there is some different way to connect swing application to
oracle
plz solve my query?
plz solve my query? how to remove all the options from select control in html using java script?
JavaScript remove all items
<html>
<script language="javascript" >
function removeAllItems(selectbox
ArrayList question plz solve it
ArrayList question
plz solve it An arraylist object stores an Emp Object, where there is name,age,address of the employee is stored,
And i want to access the data in the basis of age based?
Provide answer to the question
JSP-Oracle connectivity
JSP-
Oracle connectivity I have created a "dynamic web project" mainly with jsp files in eclipse and now, want to connect with
oracle 10g, so how can I proceed for the database connection
plz anyone can solve my
plz anyone can
solve my creat an applet prog which accepts the details of 10 customers like name , address , city , ect. and display it
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import
Database Connectivity Withe Oracle
Database
Connectivity Withe Oracle Develop a program to perform the database driven operation like insert, Delete,
Update and select. To perform the above operations create one table named
Employee.
Field Name Field Type
EmpId
error oracle database connection?
error oracle database connection? hi now i am trying to connect
oracle database and also insert my data into table, but it's not working.. I created... in
oracle table. my table name is logininfoclient_sla. this is my coding
oracle insert statement error - JDBC
oracle insert statement error hi.. please help me to insert a image into
oracle 11g database and please say me how can i insert image from directory like G:\imagefolder\ultrasoundimage\02us02.jpeg please help me
how to solve 'Stop Running This Script' Error ?
how to
solve 'Stop Running This Script'
Error ? Hi..
When opened the page on IE browser(version : 8.0),it gives an java script
error (i.e.Stop Running This Script).
I have used jsp/servlet for this.
Please help to resolved
how to solve this kind of error in Eclipse IDE?
how to
solve this kind of
error in Eclipse IDE? i'm creating... are installed. but i'm getting exactly this
error, any one out of this problem of
error. thanks in advance.
![this is image of
error, and i will try to start
connectivity
connectivity sir i have created a web page for login form and i have also created the related data base in both ms access and
oracle 10g now how to store those values in form to databases can u
plz hlp me
Solve it
Solve it How to calculate the value which contains oparator and operand both using command line argument
solve this
solve this
Create a student class. The student object should have studentid, studentname, subject and marks as properties. Also generate the getter and setter methods. Create 5 objects of this class and populate values
ModuleNotFoundError: No module named 'oci'
is throwing following
error:
ModuleNotFoundError: No module named '
oci'
How to remove the ModuleNotFoundError: No module named '
oci'
error...: No
module named '
oci'
error will be solved.
Thanks