This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi All, Thanks in advance. In our application we are getting XML file Data base as a CLOB. And later we are making that one as String. I am getting the problem at following situation, I have called the databse function, but which is not returing any thing, even CLOB null also. After restarting the server it is working fine. Please help me.
By using cstmt.registerOutParameter (1, OracleTypes.CLOB); i am calling the oracle function which is expected to return CLOB. And by using clob = (CLOB) cstmt.getClob (1);, I am taking clob to java object. But this clob = (CLOB) cstmt.getClob (1); is not working that is after this statement if i put log(clob) nothning is printing even i am not getting any exception also.
Hope clear now. Regards, Sree
Joined: Jan 02, 2007
The main problem is while closing clob.close.I am getting folowing exception. java.sql.SQLException: Protocol violation