掲示板

Accessing database from portlet

11年前 に usha kiran によって更新されました。

Accessing database from portlet

New Member 投稿: 1 参加年月日: 12/02/21 最新の投稿
We have created tables from the backend. Now form a portlet we want to query those tables wht are the different methods to query the tables,
One of them is to use service builder, but i think by using service builder again we need to create the tables, which is not the case as i have already created the tables and they contain data.

Please suggest some approach.
thumbnail
11年前 に meera prince によって更新されました。

RE: Accessing database from portlet

Liferay Legend 投稿: 1111 参加年月日: 11/02/08 最新の投稿
Hi usha kiran,

Liferay providing gr8 feature call Service Builder from this we can create tables and also create all service classess from that we can access data from tables.

http://www.liferay.com/community/wiki/-/wiki/Main/Service+Builder
http://www.javabeat.net/2011/06/using-liferays-service-builder-part-1/

Liferay IDE direct support to create servises using service builder.

Regards,
Meera Prince
thumbnail
11年前 に mohammad azaruddin によって更新されました。

RE: Accessing database from portlet

Expert 投稿: 492 参加年月日: 12/09/17 最新の投稿
HI
If you use service builder you need not to create tables manually.And for retrieving u can use dynamic query,finder method or custom sql
Regards azar