brianchandotcom/liferay-portal — pull request #13123 by sammso (2013-08-13 18:17:31+00:00)
Title: LPS-38960

Hi Brian,

This is fix for the ServiceBuilder template persistence_impl_finder_find.ftl

LPS-38960 is sub task of LPS-37841. I did divide the LPS-37841 subtask since there where 3 different issues causing the problem and they are top of each other on call hierarchy, I decided to fix all of them and handle them on separate issues. Other two sub tasks are LPS-38959 and LPS-38956.

On this fix I did add check if the count is 0 then there is no point to continue and just to return null .. not found. It is change for the ServiceBuilder template, so there is other commit for the generation. I made generation with "ant prepare-generated-files" files command.

I have tested this issue and it is also resolving the LPS-37841.