Change PostgreSQL current database from java

3k Views Asked by At

Is there any way to change postgreSQL current database from java application? or is there any equivalent for \connect report ? I know i can do this by changing JDBC connection string, but is there any better alternative?

0

There are 0 best solutions below