| Author |
how to insert clob data using CMP
|
Sudeep das
Greenhorn
Joined: Dec 19, 2003
Posts: 13
|
|
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
Joined: Jan 23, 2002
Posts: 11962
|
|
Have you looked for WebLogic CMP documentation? At least the docs for 6.1 have a note about the subject.
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
Sudeep das
Greenhorn
Joined: Dec 19, 2003
Posts: 13
|
|
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
Joined: Jan 23, 2002
Posts: 11962
|
|
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.
|
 |
 |
|
|
subject: how to insert clob data using CMP
|
|
|