Create a CLOB object with the string value
Hello Friends,
This problem, I am facing while sending objects to ORACLE-AQ (message queueing) using SPRINGS
I have a String value with me (XML). and I have a method like
public void setPayLoad(oracle.sql.CLOB payload) {
this.payload=payload ;
}
I need to convert the string to a CLOB and set the same in above method
I very well know that CLOB can be created by using the below way
CLOB.createTemporary(conn, true, CLOB.DURATION_SESSION);
but the problem is, I am using spring's frame work to handle the JMSConnections
Not able to get the connection object from springs..
Is there anyother way to create CLOB from java ??? Pleaes help me friends !!
Thanks in Advance !!
Add to oshoarun's Reputation