| Author |
storing BLOB type in oracle db
|
nikil shar
Ranch Hand
Joined: May 25, 2008
Posts: 116
|
|
hi all,
have seen a few examples already but most of them update/insert just the BLOB, i needed to update BLOB as well as another column.
the sql doesnt work and am sure its the BLOB which is causing the problem.
Does anyone know the correct sql for this ??
thanks.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
Please take the time to choose the correct forum for your posts. This forum is for questions on Servlets. For more information, please read this.
This post has been moved to a more appropriate forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
nikil shar
Ranch Hand
Joined: May 25, 2008
Posts: 116
|
|
thanks for moving this to the correct forum.
could this have anything to do with the version of oracle driver i am using ?? my version is 9.2
|
 |
Charles 'King
Ranch Hand
Joined: Jul 05, 2009
Posts: 56
|
|
nikil shar wrote:thanks for moving this to the correct forum.
could this have anything to do with the version of oracle driver i am using ?? my version is 9.2
Can you update your db with the above sql? Test your sql outside of your coding environment and report back...
|
 |
nikil shar
Ranch Hand
Joined: May 25, 2008
Posts: 116
|
|
|
thanks for the reply Charles. how do i test inserting a BLOB in direct sql ?? sorry my sql is not very good.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
nikil shar wrote:thanks for the reply Charles. how do i test inserting a BLOB in direct sql ?? sorry my sql is not very good.
You would need to read the BLOB from someplace. For example, you could have it in a file.
|
[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
|
 |
 |
|
|
subject: storing BLOB type in oracle db
|
|
|