掲示板

Portlet Interaction with multiple Database

12年前 に VCVijayan MCA によって更新されました。

Portlet Interaction with multiple Database

thumbnail
12年前 に Thiago Leão Moreira によって更新されました。

RE: Portlet Interaction with multiple Database

Liferay Legend 投稿: 1449 参加年月日: 07/10/10 最新の投稿
This sharding by community is not supported OOTB, but you can try to customize Liferay to do it. Are you willing to segment your data only for your sample-portlet?
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: Portlet Interaction with multiple Database

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
Hi VCVijaya,

You can build your service in such manner that your own portlet will communicate with other DB and Liferay will communicate with other DB.

In this case you have to make two entries in portal-ext.properties file.

But i dont think so we can achieve dynamic DB as per community.

Thanks,
Sagar Vyas
thumbnail
12年前 に Nagendra Kumar Busam によって更新されました。

RE: Portlet Interaction with multiple Database

Liferay Master 投稿: 678 参加年月日: 09/07/07 最新の投稿
It will be good feature if we have some configuration for through properties & by adding extra attribute in service.xml entity-level
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: Portlet Interaction with multiple Database

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
Nagendra Kumar Busam:
It will be good feature if we have some configuration for through properties & by adding extra attribute in service.xml entity-level


Agree with Nagendra.

Using liferay service builder we can connect the entity to different database. Here i want to connect to multiple database according to the community.


For this kind of requirement we usually create new company in same server.

Thanks,
Sagar Vyas