title: Change PostgreSQL current database from java
body: <p>Is there any way to change postgreSQL current database from java application? 
  or is there any equivalent for <code>\connect report</code> ?
  I know i can do this by changing JDBC connection string, but is there any better alternative?</p>