SQL Server to Greenplum Migration Code using Java