• Post Reply Bookmark Topic Watch Topic
  • New Topic

Liferay Query/ dynamic query/ custom SQL help

Micheal Marky
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Can anyone suggest how to get the following data in a portlet using the Liferay apis.

select A.*
FROM AnnouncementsEntry A
where not exists
select entryid
FROM AnnouncementsEntry B
where B.classpk = A.classpk
and B.userid = A.userid
and B.modifiedDate > A.modifiedDate
and userid = 10146

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!