Lps 38168 Use java list instead of freemarker sequence in SampleSQLBuilder, commit1.

Hi Shuyang,

There are so many changes, so I separated them, will send you other changes after this part is merged.

Thanks.
Tina.