I am using sqlworkbench-j to query Redshift data. I am facing issue of locking tables whenever I do query on this table. It also happens for simple select statements. I know this is happening because workbench explicitly adds begin
for every statement to take care for any changes happening for the data. So for every query we need to write end transaction
.
Is there any option to disable the begin
statement or to add end transaction
statement in sqlworkbench-j?