Skip to content
Advertisement

Tag: exec

process.waitFor() not returning

I would like to migrate data from a Postgres SQL script. I am using the code below. waitFor is not returning anything, it just waits forever. Note: My test.sql has many queries so it will display many log entries. Question: How to solve this problem? If this relates to the buffer memory, how do I clear the buffer? Thank you.

Advertisement