Skip to content

Commit

Permalink
removing bug with hana password
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieupelatan committed Dec 4, 2023
1 parent 9ca776c commit cc3d401
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public static String onboard(String tenantId, TenantInfo tenantInfo) {

// create user and schema
emAdmin.getTransaction().begin();
Query q = emAdmin.createNativeQuery("CREATE USER " + schema + " PASSWORD " + tenant.getPassword() + " NO FORCE_FIRST_PASSWORD_CHANGE;");
Query q = emAdmin.createNativeQuery("CREATE USER " + schema + " PASSWORD \"" + tenant.getPassword() + "\" NO FORCE_FIRST_PASSWORD_CHANGE;");
q.executeUpdate();
q = emAdmin.createNativeQuery("ALTER USER " + schema + " DISABLE PASSWORD LIFETIME;");
q.executeUpdate();
Expand Down

0 comments on commit cc3d401

Please sign in to comment.