title: Create PostgreSQL DataBase using .sql script in Java application
body: <p>I write Java application with Database, and I need to create SQL file which will create user and database,  assign all privileges on the database to the user. (DB and user should be created before application runs)
  But I can't come up with understanding how I can do it. Help pls!</p>