Skip to content

Instantly share code, notes, and snippets.

@anandjain1984
Created March 14, 2014 06:34
Show Gist options
  • Save anandjain1984/9543027 to your computer and use it in GitHub Desktop.
Save anandjain1984/9543027 to your computer and use it in GitHub Desktop.
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 + "'");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment