@@ -745,7 +745,7 @@ oracle_atps() {
745745 export SERVICE=$( echo $INFO | jq -r ' .database' | jq -r ' .service' )
746746 export PASSWORD=$( echo $INFO | jq -r ' .database' | jq -r ' .password' )
747747
748- curl -k -s -X POST " https://${HOST} .oraclevcn.com:8443/ords/admin/_/sql" -H ' content-type: application/sql' -H ' accept: application/json' -basic -u admin:${PASSWORD} --data-ascii " create user hibernate_orm_test_$RUNID identified by \" Oracle_19_Password\" DEFAULT TABLESPACE DATA TEMPORARY TABLESPACE TEMP;alter user hibernate_orm_test_$RUNID quota unlimited on data;grant CREATE SESSION, RESOURCE, CREATE VIEW, CREATE SYNONYM, EXECUTE ANY TYPE to hibernate_orm_test_$RUNID ;"
748+ curl -k -s -X POST " https://${HOST} .oraclevcn.com:8443/ords/admin/_/sql" -H ' content-type: application/sql' -H ' accept: application/json' -basic -u admin:${PASSWORD} --data-ascii " create user hibernate_orm_test_$RUNID identified by \" Oracle_19_Password\" DEFAULT TABLESPACE DATA TEMPORARY TABLESPACE TEMP;alter user hibernate_orm_test_$RUNID quota unlimited on data;grant CREATE SESSION, RESOURCE, CREATE VIEW, CREATE SYNONYM to hibernate_orm_test_$RUNID ;"
749749}
750750
751751oracle_atps_tls () {
@@ -755,7 +755,7 @@ oracle_atps_tls() {
755755 export SERVICE=$( echo $INFO | jq -r ' .database' | jq -r ' .service' )
756756 export PASSWORD=$( echo $INFO | jq -r ' .database' | jq -r ' .password' )
757757
758- curl -s -X POST " https://${HOST} .oraclecloudapps.com/ords/admin/_/sql" -H ' content-type: application/sql' -H ' accept: application/json' -basic -u admin:${PASSWORD} --data-ascii " create user hibernate_orm_test_$RUNID identified by \" Oracle_19_Password\" DEFAULT TABLESPACE DATA TEMPORARY TABLESPACE TEMP;alter user hibernate_orm_test_$RUNID quota unlimited on data;grant CREATE SESSION, RESOURCE, CREATE VIEW, CREATE SYNONYM, EXECUTE ANY TYPE, CREATE DOMAIN to hibernate_orm_test_$RUNID ;"
758+ curl -s -X POST " https://${HOST} .oraclecloudapps.com/ords/admin/_/sql" -H ' content-type: application/sql' -H ' accept: application/json' -basic -u admin:${PASSWORD} --data-ascii " create user hibernate_orm_test_$RUNID identified by \" Oracle_19_Password\" DEFAULT TABLESPACE DATA TEMPORARY TABLESPACE TEMP;alter user hibernate_orm_test_$RUNID quota unlimited on data;grant CREATE SESSION, RESOURCE, CREATE VIEW, CREATE SYNONYM, CREATE DOMAIN to hibernate_orm_test_$RUNID ;"
759759}
760760
761761oracle_db19c () {
@@ -768,7 +768,7 @@ oracle_db19c() {
768768/home/opc/sqlcl/bin/sql -s system/$PASSWORD @$HOST :1521/$SERVICE << EOF
769769 create user hibernate_orm_test_$RUNID identified by "Oracle_19_Password" DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP;
770770 alter user hibernate_orm_test_$RUNID quota unlimited on users;
771- grant CREATE SESSION, RESOURCE, CREATE VIEW, CREATE SYNONYM, EXECUTE ANY TYPE to hibernate_orm_test_$RUNID ;
771+ grant CREATE SESSION, RESOURCE, CREATE VIEW, CREATE SYNONYM to hibernate_orm_test_$RUNID ;
772772EOF
773773
774774}
@@ -783,7 +783,7 @@ oracle_db21c() {
783783/home/opc/sqlcl/bin/sql -s system/$PASSWORD @$HOST :1521/$SERVICE << EOF
784784 create user hibernate_orm_test_$RUNID identified by "Oracle_21_Password" DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP;
785785 alter user hibernate_orm_test_$RUNID quota unlimited on users;
786- grant CREATE SESSION, RESOURCE, CREATE VIEW, CREATE SYNONYM, EXECUTE ANY TYPE to hibernate_orm_test_$RUNID ;
786+ grant CREATE SESSION, RESOURCE, CREATE VIEW, CREATE SYNONYM to hibernate_orm_test_$RUNID ;
787787EOF
788788}
789789
0 commit comments