Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Oracle JDBC Driver

 
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author & internet detective
Posts: 41184
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic