掲示板
SQL table not created when deploying a WAR file to Liferay
14年前 に Kristof Verbraeken によって更新されました。
SQL table not created when deploying a WAR file to Liferay
Junior Member 投稿: 54 参加年月日: 09/02/25 最新の投稿
Hi,
I've created a JSR-268 portlet for Liferay which uses services to interact with a database. I can deploy the portlet without problems or errors, but the table defined by the services is not created!
I get no "table not found" error when I test the portlet. I get no errors at all! The table just isn't there in the database. I've found other things on the internet saying that I should use the generated "create.sql" file that the Liferay Service Builder created, but I don't see that file anywhere.
Can someone help me out?
Thanks for any response.
Kinds regards,
Sweepee
I've created a JSR-268 portlet for Liferay which uses services to interact with a database. I can deploy the portlet without problems or errors, but the table defined by the services is not created!
I get no "table not found" error when I test the portlet. I get no errors at all! The table just isn't there in the database. I've found other things on the internet saying that I should use the generated "create.sql" file that the Liferay Service Builder created, but I don't see that file anywhere.
Can someone help me out?
Thanks for any response.
Kinds regards,
Sweepee
14年前 に Nagendra Kumar Busam によって更新されました。
RE: SQL table not created when deploying a WAR file to Liferay
Liferay Master 投稿: 678 参加年月日: 09/07/07 最新の投稿
I hope you can find that in ext/sql/portal-tables.sql. Even i am a newbie please correct me if i am wrong
Regards,
- Nagendra Kumar
Regards,
- Nagendra Kumar
10年前 に Uday Manvar によって更新されました。
RE: SQL table not created when deploying a WAR file to Liferay
New Member 投稿: 2 参加年月日: 13/01/31 最新の投稿
Try by deleting an entry from servicecomponent table. And redeploy your portlet.
delete FROM servicecomponent where buildNamespace="<your table namespace>"</your>
10年前 に meera prince によって更新されました。
RE: SQL table not created when deploying a WAR file to Liferay
Liferay Legend 投稿: 1111 参加年月日: 11/02/08 最新の投稿
HI
in the data base there is table called servicecomponent in that delete your portlet respective row,........................
Regards,
Meera Prince
http://www.liferaysavvy.com/
in the data base there is table called servicecomponent in that delete your portlet respective row,........................
Regards,
Meera Prince
http://www.liferaysavvy.com/