Message Boards

Not able to update records through custom portlet

Upender Kashyap, modified 3 Years ago.

Not able to update records through custom portlet

Junior Member Posts: 30 Join Date: 8/12/20 Recent Posts
Hello Everyone,

I am working on Liferay 7.2 DXP. I am using MySQL along with liferay service builder. I trying to update
a record column. The code is as folloew

form1.setDescription(desc);
FormService form2 = _formService.updateFormService(form1);

On debugging, I can see desc being set and its also updated in returned form2 object. But the same is not being updated in db. Can anyone tell whats the problem here, its like a simple code.

Thanks in advance,
Upender K