TDQ-9245 1.code refactor on JavaSqlFactory 2.can retrieve column

Hi mzhao,
please review this commit then push it to Talend master.

Thanks