Search code examples
liferayportletliferay-6

Table not updating when chaging the service.xml and building the service in liferay


I am developing the custom portlet for liferay. My problem is once I create service builder and build the service then in my database the table is created. I have some changes in my service.xml (some table column is added) but now when I build the service my database table is not updating the table column. It is as same as before.

So can anyone guide me that why this happens? I am new to liferay and there is always some changes will occurs so I need to solve this problem.


Solution

  • i got soution of this problem..

    1)..try to delete your portlet from liferay... 2)..then again redeploy that portlet..that solved my problem

    if anyone have same problem then can try this way