掲示板

Service Builder

11年前 に amani kh によって更新されました。

Service Builder

Junior Member 投稿: 43 参加年月日: 12/11/17 最新の投稿
hey, I am beginner to liferay environnement, I've created some portlets that I wanna connect to my DB, I read a little about SERVICE BULDER but I am still a bit confused..
my qest is: does Service Builder creates my custom Tables (when deploy the portlet)? or it is used just to make connection to DB's tables after I do create them ?

hope u give me some explanations
thumbnail
11年前 に Jignesh Vachhani によって更新されました。

RE: Service Builder (回答)

Liferay Master 投稿: 803 参加年月日: 08/03/10 最新の投稿
Yes it will create your custom tables as per the defination which you defines in service.xml file.
You can see service builder concept in details on : http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/service-build-2
thumbnail
11年前 に Jitendra Rajput によって更新されました。

RE: Service Builder (回答)

Liferay Master 投稿: 875 参加年月日: 11/01/07 最新の投稿
Check table.sql file inside your portlets sql folder it has all the queries to generate tables specified in service.xml.
When ever you deploy portlet liferay automatically creates table for you.
11年前 に amani kh によって更新されました。

RE: Service Builder

Junior Member 投稿: 43 参加年月日: 12/11/17 最新の投稿
thaks a lot, one more qest plz does it automatically create tables in lportal DB?
thumbnail
11年前 に Jignesh Vachhani によって更新されました。

RE: Service Builder (回答)

Liferay Master 投稿: 803 参加年月日: 08/03/10 最新の投稿
Yes when you build service and deploy your portlet then it will automatically generates tables in connected DB