Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
amani kh
Service Builder
31. Januar 2013 01:29
Antwort

amani kh

Rang: Junior Member

Nachrichten: 43

Eintrittsdatum: 16. November 2012

Neue Beiträge

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
Jignesh Vachhani
RE: Service Builder
31. Januar 2013 01:36
Antwort

Jignesh Vachhani

Rang: Liferay Master

Nachrichten: 785

Eintrittsdatum: 10. März 2008

Neue Beiträge

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
Jitendra Rajput
RE: Service Builder
31. Januar 2013 01:36
Antwort

Jitendra Rajput

Rang: Liferay Master

Nachrichten: 858

Eintrittsdatum: 7. Januar 2011

Neue Beiträge

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.
amani kh
RE: Service Builder
31. Januar 2013 01:57
Antwort

amani kh

Rang: Junior Member

Nachrichten: 43

Eintrittsdatum: 16. November 2012

Neue Beiträge

thaks a lot, one more qest plz does it automatically create tables in lportal DB?
Jignesh Vachhani
RE: Service Builder
31. Januar 2013 03:54
Antwort

Jignesh Vachhani

Rang: Liferay Master

Nachrichten: 785

Eintrittsdatum: 10. März 2008

Neue Beiträge

Yes when you build service and deploy your portlet then it will automatically generates tables in connected DB