Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Liferay Query/ dynamic query/ custom SQL help

 
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