• Post Reply Bookmark Topic Watch Topic
  • New Topic

Liferay Query/ dynamic query/ custom SQL help  RSS feed

 
Micheal Marky
Greenhorn
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

Thanks,
Micheal
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!