Maybe the data is stored (Balu Sadhasivam suggested that too), but your viewers can't show it, because, as Paul says, it is stored differently for +4K data.Paul Sturrock wrote:...Also, are you aware that a LOB will only be stored inline up to 4k? After that it will be stored outside the row. Have a read of the Oracle docs on LOB data types for both issues.
OCUP UML fundamental and ITIL foundation
Using classes12.jar and ojdbc14.jar.
Secondly I have created a JSp page to read the Blob, but its displaying the images (all images less then 4K).
Can you post the relevant code part of both your Java ans JSP/servlet attempts?sk mehrotra wrote:One more thing , when i am using the same code to insert the image through my Local system (Java Class), I am able to insert images more then 4K, but when i am using the same through a JSP page and calling a servlet, its not inserting the images more then 4K.
OCUP UML fundamental and ITIL foundation
If I become filthy rich, I'll sponsor research for painless dental treatment at Harvard Medical School. Thats why,I'm learning Java.I have 32 teeth, 22 are man made.
Jhakda Velu wrote:Hi
It is surprising that the standalone code is able to insert but the servlet code isn't. I suggest you first insert the mandatory fields(non blob), then get the blob by querying the record you entered and update it. It *may* work. I did that for a clob.
Jhakda
Geneson Subramaniam wrote:Hi All,
I'm trying to find a GUI tool that connects to Derby in embedded mode. Can Eclipse is capable of this? If so,
where can I start??
TQ
sk mehrotra wrote:Have compiled the java code in the same environment used for Servlets.
But have you used the same jdbc jar at runtime?sk mehrotra wrote:Have compiled the java code in the same environment used for Servlets.
OCUP UML fundamental and ITIL foundation
OCUP UML fundamental and ITIL foundation
sk mehrotra wrote:Using the same JDBC jar at the runtime.
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
|