掲示板

Dynamic Query for Two tables

thumbnail
8年前 に Meera Prince によって更新されました。

Dynamic Query for Two tables

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

How can we make inner join between two table using liferay dynamic query API and some table might not have model class then how can we create dynamic query for them
Example
assetentry and assetentries_assetcategories When we crate dynamic query it always expect model call to create it so please let me know if any one have examples regarding to this scenario

Regards,
Meera Prince
thumbnail
8年前 に Ravi Kumar Gupta によって更新されました。

RE: Dynamic Query for Two tables

Liferay Legend 投稿: 1302 参加年月日: 09/06/24 最新の投稿
Meera,

Is Custom SQL not an option to implement and use here?
thumbnail
8年前 に Meera Prince によって更新されました。

RE: Dynamic Query for Two tables

Liferay Legend 投稿: 1111 参加年月日: 11/02/08 最新の投稿
HI
Ok thank you .. but it should also work for those type of scenarios too I think otherwise again we need to go for custom sql. anyway thank you very much for your information.

Regards,
Meera Prince