Have a table with an id and a clob field in database. Need is to implement a Post service to persist data for this table for which an entity is designed with @lob for (CLOB column String java type) and @id(ID) in db. I have designed a rest service which takes input in the format below- { id: input_id, data: clob_data }
How do we pass id and the contents of the file to get stored via rest and curl. Or if there is a better way to implement open for suggestions.