Skip to content

Instantly share code, notes, and snippets.

View anandjain1984's full-sized avatar

anandjain1984

View GitHub Profile
I am getting the below exception
Caused by: java.sql.SQLSyntaxErrorException: ORA-00922: missing or invalid option
It is coming at line
connection.createStatement().execute("SET SCHEMA 'public'");
and even commenting the above line, the same exception is coming at line
connection.createStatement().execute("SET SCHEMA '" + tenantIdentifier + "'");