Oracle12c : Creating 'common' user fails
Posted: Tue 15 Jul 2014 13:25
I'm using dotConnect express for Oracle with OCI 11gR2 instant client. It can successfully connect to cdb$root and pluggable databases. Running DML, DDL statements against the PDB works. DML against the cdb$root also works. Some of the DDL against the cdb$root that I tried also seems to work, but when I try to create a 'common' user I get an error
ORA-12828: Can't start parallel transaction at a remote site
Looking up in Oracle doc on this error, I get this
Cause: PDML transaction cannot be started because we are not in the coordinator site of the distributed transaction.
Action: Do not use PDML at remote sites.
The create user statement I'm trying to run is
CREATE USER c##common_user1 identified by <pass> container = all
Also, I found that this statement works when issued via SQLPlus (which uses the same version of OCI instant client)
ORA-12828: Can't start parallel transaction at a remote site
Looking up in Oracle doc on this error, I get this
Cause: PDML transaction cannot be started because we are not in the coordinator site of the distributed transaction.
Action: Do not use PDML at remote sites.
The create user statement I'm trying to run is
CREATE USER c##common_user1 identified by <pass> container = all
Also, I found that this statement works when issued via SQLPlus (which uses the same version of OCI instant client)