Column name formating to handle comma and jdbc connection close after su...

...ccessful query execution