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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating an ObjectInputStream from a Blob!

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,
Could someone help me with a problem i have. Creating an ObjectInputStream from an InputStream crerated by a Blob is throwing an EOFException. Here is a code snippet.



I encounter the EOFException when i create the instance of the ObjectInputStream. See any problem?
Any help is appreciated.

thanks,
shekar

Moderator:
I have already posted this in the IO /Sterams section, but i think it fits in here too.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Shekar,
I'm going to lock this post. We ask people not to cross post as it makes discussion more complicated to follow. (Thanks for pointing out that you did so though.)

I posted a reply in your other thread. I think the problem is more about I/O and Serialization from the message. You can test this out by trying to output the binary stream itself. If this ends up being a JDBC question, PM a sheriff and they can move it back here.

Thanks,
Jeanne
JDBC Forum Moderator
 
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic