This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Modern JavaScript for the Impatient and have Cay Horstmann on-line!
See this thread for details.
Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Visual J++ Compiler and java.sql.Blob

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am facing problems in implementing a Java program to update an Oracle table with a BLOB datatype. Am using Microsoft Visual J++ Compiler Version 6.00.8424 to compile the source and the same runs under Microsoft VM (Microsoft (R) Command-line Loader for Java Version 5.00.3805)
At compile time, my compiler is not able to find the interface java.sql.Blob.
Has anyone implemented this functionality and if yes their help would be greatly appreciated.
Thanks
GanP.
[ September 25, 2003: Message edited by: Ganapathi Srinivasan ]
[ September 25, 2003: Message edited by: Ganapathi Srinivasan ]
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I really would have no idea. Have you tried using Sun's JDK and VM? Do you get the same erros?
Could it be that the J++ compiler does not support that API? Not too sound rude with this or anything, but you would probably have better luck on a Microsoft Forum as they will have more knowledge about MS J++ Compiler than I do. There are a couple of people at the Ranch I know of that might have some experience with it, so I will notify them of this post.
 
author & internet detective
Posts: 40169
812
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know anything about the J++ compiler, but you can use a byte[] instead of Blob.
 
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic