aspose file tools*
The moose likes JDBC 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
Bookmark "Oracle JDBC Driver" Watch "Oracle JDBC Driver" New topic
Author

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 java.io.ByteArrayInputStream or not..

thanks
daniel
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

Daniel,
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?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, 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 java.io.ByteArrayInputStream 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..

thanks
daniel



When I traced my code, there is different implementation object of InputStream interface.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oracle JDBC Driver