• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.sql.Blob 4K restriction

 
satish
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
very simple program to insert into blob using pure java.sql.Blob datatype.

This works fine as long as filesize < 4k .
Any more file size gives SQLException: No more data to read from socket

Tried with jdk1.4 .

Can this be resolved ?

[Edited to remove e-mail. We ask people to use the forum to reply rather than e-mail so all can benefit]
[ July 22, 2005: Message edited by: Jeanne Boyarsky ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
templegod setty,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks Pardner! Hope to see you 'round the Ranch!
 
Christopher Elkins
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having the same basic issue. Was there ever a solution posted to this problem? Thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34669
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christopher,
Not in this thread. I recommend creating a new thread describing the problem you are having (even if it is remarkable similar.) Include which database you are using in that thread.

Many of us won't reply to someone with an invalid display name until they fix it which decreased the chances of Satish getting an answer. You may have better luck.

Thanks,
Jeanne
JDBC Forum Bartender
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic