Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to insert clob data using CMP

 
Sudeep das
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,
can any one pls let me know how can we insert data into a CLOB field in Oracle using CMP in Weblogic.
If i get to use BMP I can do it using the PreparedStatement.setCharacterStream(), but in case of CMP how to encode into a reader object.
I tried encoding it using Reader object, but it is storing the object as it is as junk value and not the value, which happens to be a string value.
thanks in advance,
sudeep
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked for WebLogic CMP documentation?
At least the docs for 6.1 have a note about the subject.
 
Sudeep das
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya I have,
sorry forgot to mention that I am using Weblogic 7.0.
I know it is not supported in weblogic 6.1 but not sure about 7.0
sudeep
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sudeep das:
I know it is not supported in weblogic 6.1 but not sure about 7.0
Actually, the link I provided says that 6.1 does support CLOB fields in CMP by mapping them to java.lang.String.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic