Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to pass two parameters in Custom SQL query.?
Hai,
Here i have two tables
1.candidatedetails
2.jobcandidatemapping
if i want to execute this below sql query, how to write query in .xml page?
SELECT * FROM candidatedetails a, jobcandidatemapping b where a.candidateName like '%a4%' and a.candidateId=b.candidateId and b.jobId=127408;
Thank you.
Hello
Refer below url.Needs to add your query in default.xml and Use QueryPos for parameter.
https://dev.liferay.com/es/develop/tutorials/-/knowledge_base/7-0/custom-sql.
Thanks
Vishal Munjani
Thanks for your reply Vishal.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™