JDBC 2.0, Type 4 Driver for Oracle 8.0.4
I'm looking for a Type 4 JDBC 2.0 driver for Oracle 8.0.4. Does
Oracle provide one. I have looked at the downloads area but was
not able to locate one.
Any pointers?
Ravindra Rao
[email protected]
null
Ravindra Rao (guest) wrote:
: I'm looking for a Type 4 JDBC 2.0 driver for Oracle 8.0.4. Does
: Oracle provide one. I have looked at the downloads area but was
: not able to locate one.
: Any pointers?
: Ravindra Rao
: [email protected]
The only oracle JDBC driver that can run with JDK 1.2.x is in the
OTN download area and is named "816SDK for JDK 1.2"
it will work with the JDK 1.2.X using the JDBC 1.22 spec from JDK
1.1.X.
IT DOES NOT PROVIDE THE FULL JDBC 2.0 FEATURES/ FUNCTIONALITY
THAT ARE INCLUDED IN THE JDK 1.2.X CLASSES.
you're using a jdk 1.2.x/jdbc 2.0 feature -- which is anticipated
to be included in the 816 driver later this year -- it's not in
the "816SDK" JDBC driver you're using now..
816SDK can be thought of as stepping stone between 815 using jdk
1.1.x and 816 supporting jdk 1.1.x and 1.2.x.
i think of it as "8.1.5 and a half" to avoid the naming confusion
between "816sdk" and "816" .
SEE the following FAQ link for additional details :
http://technet.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
null
Similar Messages
-
Jdbc connectivity using type 4 driver using oracle10g
Hi while running a jdbc program using type 4 driver using oracle 10 g I am Getting following exception
java.lang.NullPointerException
java.lang.NullPointerException
at Type4ConnectTest.main(Type4ConnectTest.java:31)
Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.driver.
OracleDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at Type4ConnectTest.main(Type4ConnectTest.java:15)
My Program Code is..
import java.sql.*;
class Type4ConnectTest
public static void main(String args[])throws Exception
Connection con=null;
Statement st=null;
ResultSet rs=null;
try
// DriverManager.registerDriver(new Oracle:jdbc:OracleDriver());
Class.forName("oracle.jdbc.OracleDriver");
String url="jdbcracle:thin:@localhost:1521";
con=DriverManager.getConnection(url,"sarika","sarika");
catch(NullPointerException e)
System.out.println("e");
e.printStackTrace();
finally
try
con.close();
st.close();
rs.close();
catch(Exception e)
System.out.println(e);
e.printStackTrace();
I also set path of ojdbc14.jar and orai18n.jar in environment variable.
pls help to solve the problemClass.forName("SOME_DRIVER_CLASS");Is tricky to use because it will compile not needing to reference the vendors jar file.
You have to remember to deploy it though where ever you plan to run this program.
If you are running from command line
java -cp PATH_TO_JAR Type4ConnectTest -
Help required on jdbc 2.0 driver for oracle 8.0.4
Hi all,
I wanted to know whether any oracle/Third party jdbc 2.0 driver is available to connect to oracle 8.0.4 enterprise server.
Any help would be kindly appreciated....
Regards,
SudhakarRavindra Rao (guest) wrote:
: I'm looking for a Type 4 JDBC 2.0 driver for Oracle 8.0.4. Does
: Oracle provide one. I have looked at the downloads area but was
: not able to locate one.
: Any pointers?
: Ravindra Rao
: [email protected]
The only oracle JDBC driver that can run with JDK 1.2.x is in the
OTN download area and is named "816SDK for JDK 1.2"
it will work with the JDK 1.2.X using the JDBC 1.22 spec from JDK
1.1.X.
IT DOES NOT PROVIDE THE FULL JDBC 2.0 FEATURES/ FUNCTIONALITY
THAT ARE INCLUDED IN THE JDK 1.2.X CLASSES.
you're using a jdk 1.2.x/jdbc 2.0 feature -- which is anticipated
to be included in the 816 driver later this year -- it's not in
the "816SDK" JDBC driver you're using now..
816SDK can be thought of as stepping stone between 815 using jdk
1.1.x and 816 supporting jdk 1.1.x and 1.2.x.
i think of it as "8.1.5 and a half" to avoid the naming confusion
between "816sdk" and "816" .
SEE the following FAQ link for additional details :
http://technet.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
null -
Required appropriate OCI JDBC driver for Oracle 9i
Required appropriate OCI JDBC driver for Oracle 9i Enterprise Edition Release 9.2.0.6.0.
Stick to one thread please.
http://forum.java.sun.com/thread.jspa?messageID=9552360 -
Required appropriate JDBC driver for Oracle 9i
Required appropriate JDBC driver for Oracle 9i Enterprise Edition Release 9.2.0.6.0.
And?
Download them from the Oracle website or get them from your Oracle client application's jdbc directory. -
Oracle JDBC Thin Driver for oracle 9.2.0.4
Hi,
It would be nice if someone please guide me to the download of Oracle JDBC Thin Driver for oracle 9.2.0.4.
Thanks in anticipationuser566773,
As far as I know, all Oracle JDBC drivers are meant to be backward compatible.
According to the table on the following Web page, the latest Oracle JDBC driver can be used with Oracle 9.2.0.x DBMS.
http://www.oracle.com/technology/tech/java/sqlj_jdbc/index.html
Good Luck,
Avi. -
Error when SDM JDBC driver for Oracle
When deploying the JDBC driver for Oracle on PI 7.0, I failed to achive. I got the following trace information from SDM.
After checking the system directory structure, I found that very interesting thing. First I downloaded aii_af_jmsproviderlib.sda from the directory of ../SAP AG/0/3.0...and zip oracle jdbc driver into it, and I deployed the sda file with SDM back to the system with the option update deployed SDAs that hava any version. Curious the sda file was put into another directory of ../SAP AG/1/3.0... a new directory which was just created during the deployment.
This never happen before and is this the reason why deploy failed.
Aborted: development component 'com.sap.aii.af.jmsproviderlib'/'sap.com'/'SAP AG'/'7.0009.20060728142055.0000'/'1':Caught exception during deployment from SAP J2EE Engine's offline deploy API:com.sap.engine.tools.offlinedeploy.rdb.ODeploymentException: ERROR: Can't deploy component with sda /usr/sap/XID/DVEBMGS00/SDM/root/origin/sap.com/com.sap.aii.af.jmsproviderlib/SAP AG/1/7.0009.20060728142055.0000/aii_af_jmsproviderlib.sdajava.util.zip.ZipException: reading zip file central directory failed at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:123) at java.util.zip.ZipFile.<init>(ZipFile.java:144) at com.sap.engine.tools.offlinedeploy.rdb.OfflineComponentDeployImpl.deployComponent0(OfflineComponentDeployImpl.java:400) at com.sap.engine.tools.offlinedeploy.rdb.OfflineComponentDeployImpl.deployComponent(OfflineComponentDeployImpl.java:266) at com.sap.sdm.serverext.servertype.inqmy.extern.EngineOfflineDeployerImpl.performDeployment(EngineOfflineDeployerImpl.java:209) at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96) at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224) at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60) at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186) at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:48) at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83) at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60) at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127) at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73) at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59) at com.sap.sdm.app.view.controllers.DeployEventProcessor.processEvent(DeployEventProcessor.java:11) at com.sap.sdm.client_server.deployserver.DeployCmdProcessor.processEvent(DeployCmdProcessor.java:264) at com.sap.sdm.client_server.deployserver.DeployCmdProcessor.process(DeployCmdProcessor.java:108) at com.sap.sdm.gui.server.GuiAdminRoleCmdProcessor.process(GuiAdminRoleCmdProcessor.java:72) at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67) at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76) at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:286) at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43) at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39) at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50) at java.lang.Thread.run(Thread.java:534) (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineOfflineDeployerImpl.performAction(DeploymentActionTypes).ODEXC)
Deployment of com.sap.aii.af.jmsproviderlib finished with Error (Duration 25376 ms)Hi
I used this document do deploy jdbc driver
How To Install and Configure External Drivers for theJDBC & JMS Adapters ver3.01.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
I used drivertoll to adding driver jars
sds
Marco Zerbini -
Mix Local and Global Transaction using XA Driver for Oracle
Hi all,
We are trying to use a XA Driver which can support both local as well as global
transaction. We tried using the Weblogic jDriver (XA Driver) type 2 that comes
along with Weblogic installation but unfortunaltely it cannot mix local as well
as global transaction.
Please let me know in case we have any XA JDBC driver for Oracle Database which
supports both local and global transaction together.
Thnx,
Kumar
Environment:
Weblogic 8.1 server
Database used : Oracle8iMost database drivers can support local and global transactions, with some
restrictions.
The JDBC spec has been changed to require compliant drivers to let the
application
know if they try to start a global transaction while a local transaction has
not been
completed (or vice verse). So most of the database drivers have been
changed to enforce
this restriction (breaking a lot of code that is out there).
"Kumar Raman" <[email protected]> wrote in message
news:4033457c$[email protected]..
>
Hi all,
We are trying to use a XA Driver which can support both local as well asglobal
transaction. We tried using the Weblogic jDriver (XA Driver) type 2 thatcomes
along with Weblogic installation but unfortunaltely it cannot mix local aswell
as global transaction.
Please let me know in case we have any XA JDBC driver for Oracle Databasewhich
supports both local and global transaction together.
Thnx,
Kumar
Environment:
Weblogic 8.1 server
Database used : Oracle8i -
I have just installed Oracle8i and i m trying to connect a project to d database using ODBC. I gave
Driver class name as sun.jdbc.odbc.JdbcOdbcDriver
Connection Info as jdbc:odbc:dbgen dbgen is my project name
Database name as Oracle
Username as scott
Password as Tiger
i am getting this exception
java.sql.SQLException[Microsoft][ODBC Driver for Oracle][Oracle]
can ne one help me out plz???hi
dbgen is your project name? it should be the dsn name that has to be mentioned. Go to control panel->administrative tools>data sources and add the type of driver required.
import java.sql.*;
import oracle.jdbc.pool.*;
public class TestThinDSApp {
public static void main(String args[]) throws ClassNotFoundException,
SQLException {
// These settings are typically configured in JNDI
// so they a implementation specific
OracleDataSource ds = new OracleDataSource();
ds.setDriverType("thin");
ds.setServerName("dssw2k01");
ds.setPortNumber(1521);
ds.setDatabaseName("orcl"); // sid
ds.setUser("scott");
ds.setPassword("tiger");
Connection conn = ds.getConnection();
Statement stmt = conn.createStatement();
ResultSet rset = stmt
.executeQuery("select 'Hello Thin driver data source tester '||"
+ "initcap(USER)||'!' result from dual");
if (rset.next())
System.out.println(rset.getString(1));
rset.close();
stmt.close();
conn.close();
}Hope this helps to some extent..
Edited by: S.Manikandan on Jun 21, 2008 10:07 AM -
Hello I developed a small applicaion for insert data into database.but i am getting exception in the server like this.
app failed due to java.sql.SQLException: [Microsoft][ODBC driver for Oracle][Oracle]ORA-01401: inserted value too large for column
And the code is given below..
import java.io.*;
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Jdbc1 extends HttpServlet
public void service(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
PrintWriter out=response.getWriter();
String no=request.getParameter("no");
String name=request.getParameter("name");
String age=request.getParameter("age");
try
System.out.println("1");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
System.out.println("2");
Connection con=DriverManager.getConnection("jdbc:odbc:rakesh","scott","tiger");
System.out.println("3");
Statement st=con.createStatement();
System.out.println("4");
st.executeUpdate("INSERT INTO ind VALUES('+no+','+name+','+age+')" );
con.commit();
con.close();
catch(Exception e)
System.out.println(" app failed due to "+e);
}Please give solution for this....Hello sir..
thanks for ur reply...
for oracle 10g -----> we use XE as datasourse
name..What?
now i am using oracle 8i...Not so from the code you posted. Didn't I see "jdbc:odbc:..." in your first post?
so what should i
write...in the datasourse name...that means.......
Connection
con=DriverManager.getConnection("jdbc:oracle:thin:@loc
alhost:1521:????????","scott","tiger");Do you really use the default username and password?
What should i write in place of ?????????..The name of the database you wish to connect to, of course.
Do you have your tnsnames.ora set up properly? Did you install this database?
None of this has ANYTHING to do with the error you posted, of course. Fix that first and then worry about the thin driver. At least it appears that the code you posted managed to connect to the database.
% -
hi all..im tryin to connect to Oracle db from java application.. i can complile the code but when it comes to executing d cod im gettin d followin error.. pls help me out.. here is d error
SQLException:java.sql.SQLException:[Microsoft][Odbc driver for Oracle][Oracle]henrymania wrote:
This is d driver im loadin..
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
and this is URL im assiging....
"jdbc:oracle:thin:@192.168.32.68:1521:test";
Here test is my sid name....highly unlikely, as that's not an ODBC driver nor is it an ODBC DSN. -
Hi All!
Can anybody give me a download link to JDBC driver for Oracle 7.2?
Thank you!!That's an awfully old Oracle version - unless your company is paying out their rear-end, I doubt Oracle supports it at all. Even Oracle Technology Network only goes back as far as Oracle 8i (AKA 8.1).
I doubt you'll be able to find such an old driver and if you do, I'd wonder about how well it might work with any recent (last several years) JVM.
Why are you stuck with such an old version? -
Oracle 817 client and MS driver for oracle
Hello
I had installed oracle 8.17 client on my machine.
Suddenly, my datasource with "MS driver for oracle" seems not to be working.
I uninstalled 8.17 and installed 8.16.
No matter, what I do, I cannot get the datasource setup with "MS driver for oracle" work
Anyone has similar experience
-AswathWhat error message are you seeing? I've never seen any conflict between the Oracle and Microsoft drivers.
You could try downloading the latest version of the MDAC (Microsoft Data Access Components) from Microsoft <http://www.microsoft.com/data>. That will have the latest version of the Microsoft driver.
I'm assuming that you have already tried deleting and re-creating your DSN. If you haven't, that would be a good first step.
Justin -
Where can I download the ODBC driver for Oracle 10g XE?
where can I download the ODBC driver for Oracle 10g XE?
I need the ODBC drivers for windows 7 x64, I installed Oracle Database 10g Express Edition, the use and connects with RazorSQL well, I just want to make a connection THROUGH ConnectionString language using the ODBC driveralready checked these http://www.connectionstrings.com/oracle, I need Help Please.
-
Hi,
This is Sathish, I am trying to create a report and retrieve data through stored procedure using ODBC Connection. When connecting to the Stored Procedure it is showing Database Connection Error 42000:[Microsoft][ODBC driver for oracle] Syntax error or access violation' Error.
CRXI R2, Oracle 9i.
What do i do to solve this issue.
Regards,
SathishHi Satish
It could be an issue with the driver.
You can try with the OLEDB n Oracle native connection to test if the issue persists.
Also you can refer to the [Troubleshooting Database Connectivity for Crystal Reports|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d05b3bb7-0f28-2c10-4ea3-84dbdc4e414e&overridelayout=true]
Hope this helps!!
Regards
Sourashree
Maybe you are looking for
-
HP OfficeJet Pro 8500A and Google Calendar
The Google Calendar application for my HP OfficeJet Pro 8500A always prints the calendar offset by one day; i.e. Sunday's events are listed on Monday, Tuesday's events on Wednesday, etc. All settings are fine, otherwise, prints like a champ on every
-
Need help in using Runtime class
Hi all, I am facing problem with JRE versions of websphere and SUN JRE. Let me explain my problem. We have an application working fine in websphere, Now my organization wants to migrate this app to websphere. This application downloads some set of ja
-
Hi, I am having a problem with my module written for Enhancing functionality of file adapter.My module validates a input file for a particular record presence and if that record is present it would be processed normally by XI system. But in case, if
-
Application updates are not displayed
Hello, I have a problem, after the purchase of music in itunes, I do not appear to update the application, and the app store mac app store, how to solve this problem? Thanks
-
My 7 year old daughter has an iPod Touch 4 and she used the wrong password too many times. She thinks she remembers her password now but we have already exceeded the attempts and it says "iPod is disabled" connect to iTunes. Is there any way we can