Solved

Need sample on how to acess Oracle using ojdbc14.jar

Posted on 2004-10-15
1
708 Views
Last Modified: 2012-06-27

Hi,

Need sample on how to acess Oracle using ojdbc14.jar

if at all posible.

TIA
0
Comment
Question by:eDias
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

by:
cjjclifford earned 250 total points
ID: 12337002
ojdbc14.jar is the JDBC thin client that is provided by Oracle (this is the equivalent for the old "classes12.zip"). To use this through Python is a little tricky - if you use Jython, then it should be straightforward enough (Create a java.sql.Connection, use that to create a java.sql.Statement, use that to executeQuery() on a SQL statement, which will return a java.sql.ResultSet, which can be used to go through the data.
If you are using C Python, then ojdbc14.jar is not the way to go... You should have a look at cx_Oracle, which is a Database access module conforming to the Python database API. (http://sourceforge.net/projects/cx-oracle/). You'll need the Oracle Client software installed to use this...

Documentation on using cx_Oracle is available here: http://starship.python.net/crew/atuining/cx_Oracle/html/index.html
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Here I am using Python IDLE(GUI) to write a simple program and save it, so that we can just execute it in future. Because when we write any program and exit from Python then program that we have written will be lost. So for not losing our program we…
Strings in Python are the set of characters that, once defined, cannot be changed by any other method like replace. Even if we use the replace method it still does not modify the original string that we use, but just copies the string and then modif…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

688 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