Lps 37367 Fix SampleSQLBuilder

Hi Shuyang,

There are two regression bugs in SampleSQLBuilder. I have something to say about the first one.

The first commit fixed the bug caused by LPS-36001. The root reason of this problem is ClassNameLocalServiceUtil is called when running SampleSQLBuilder but it is not initialized, there are two solutions:

1) Initialize ClassNameLocalServiceUtil properly, it means need to add "portal-spring.xml" and other files it depends to spring initialization.
2) Use ***ModelImpl instead of ***Impl in DataFactory to avoid the invoke of ClassNameLocalServiceUtil.

I chose 2), for we talked before, in DataFactory, it should use ***ModelImpl instead of ***Impl, and also 1) will slow down SampleSQLBuilder.

Let me know if you have any questions about it.


Thanks.
Tina.