File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Oracle JDBC Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Oracle JDBC Driver" Watch "Oracle JDBC Driver" New topic

Oracle JDBC Driver

Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
Hi all,
Could you plese help me to give an url about the API of Oracle JDBC Driver.
It is because I want to know whether oracle.jdbc.driver.OracleBlobInputStream is subclass of or not..

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

Are you using an IDE? Most will let you view the inheritance hierarchy for a class.

Note that it is best not to use database specific classes if it isn't necessary. What are you trying to do?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Fisher Daniel
Ranch Hand

Joined: Sep 14, 2001
Posts: 582
Hi Jeanne,
I am developing an application using Struts, SpringFramework and Hibernate and alse Oracle as database.
In my application there is feature to upload document and it is saved into BLOB.
I have problem about why there is no error but that document is not saved into database.
When I retrieved again that data, The length of content is correct and all byte is 0 (zero). So I think there is problem when saving that BLOB.
Then I do a tests to know what the problem is.

After I save the document, I use findByPk method to retrieve again that document. And I get as implementation object of InputStream interface.

But when I use findByPk (not after saving the document), I get oracle.jdbc.driver.OracleBlobInputStream as implementation object of InputSteram interface.

So.. that is why I ask about that specific class in Oracle JDBC driver...

Correct me if I am wrong..


When I traced my code, there is different implementation object of InputStream interface.
I agree. Here's the link:
subject: Oracle JDBC Driver
It's not a secret anymore!