Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] how to Pass CLOB data type in addNamedArgument


  I am using Oracle 11g and also called stored procedure using eclipselink.
I want to pass CLOB data in addNamedArgument. Is it possible?

see the below code

        StoredProcedureCall call = new StoredProcedureCall();
        call.addNamedArgument("p_clobs", input.toString(),Types.CLOB);
        call.addNamedArgumentValue("p_check", "1");      
        call.addNamedOutputArgument("status", "status", Integer.class);
        ValueReadQuery query = new ValueReadQuery();

Its working but the clob data field always show an empty value.

View this message in context:
Sent from the EclipseLink - Dev mailing list archive at

Back to the top