| Author |
oracle.sql.STRUCT and db user rights
|
Jina Lu
Greenhorn
Joined: Jul 09, 2010
Posts: 16
|
|
Maybe someone could explain me what action is called in database when in java we are creating new oracle.sql.STRUCT object?
Struct struct = new STRUCT(StructDescriptor.createDescriptor("SCHEMANAME.TEST", dbOracleConnection), dbOracleConnection, myMap);
I needed to check if all required rights are provided to db user.
Thanks a lot in advance.
|
 |
Martin Vajsar
Bartender
Joined: Aug 22, 2010
Posts: 2335
|
|
You need to grant the EXECUTE privilege to users that should be able to use your type.
Edit: see also http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_8001.htm
|
 |
 |
|
|
subject: oracle.sql.STRUCT and db user rights
|
|
|